Deploying a self contained React application with Nuget on Visual Studio 2019

  • Thread starter Thread starter PhilTheGaps
  • Start date Start date
P

PhilTheGaps

Guest
I am trying to deploy my .net React JS application on another server on Visual Studio 2019 as a self contained package and this is almost working, except for the Nuget dlls which, although present in the deployed files, are supposed to be found on $(USERPROFILE)/.nuget/packages. But this folder is not present on the prod server.


My web.config contains this line to start the web site on IIS:

<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" />

So the basic VSIISExeLauncher.exe behavior is to get NuGet file from my initial path $(USERPROFILE)/.nuget/packages. Can I change that ?


Is there any solution to avoid that, or if it is impossible, can I tweak the *.csproj file in order to choose the packages folder ?

Any help appreciated !

Continue reading...
 
Back
Top