You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am executing a PowerShell script that updates NuGet packages across multiple projects in the same solution. On Windows 10, the HintPath remains relative after the NuGet updates are performed. However, when the same script is run on Windows Server 2016 Datacenter, the HintPath changes to absolute. Both machines are using the same NuGet.exe version (NuGet Version: 4.5.1.4879). Can you please provide guidance on how to maintain the relative HintPath?
The command that I'm using:
nuget update $SOLUTION_PATH\packages.config -RepositoryPath $currentFolder..\Packages -Source $NugetsSource -FileConflictAction Overwrite;
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am executing a PowerShell script that updates NuGet packages across multiple projects in the same solution. On Windows 10, the HintPath remains relative after the NuGet updates are performed. However, when the same script is run on Windows Server 2016 Datacenter, the HintPath changes to absolute. Both machines are using the same NuGet.exe version (NuGet Version: 4.5.1.4879). Can you please provide guidance on how to maintain the relative HintPath?
The command that I'm using:
nuget update $SOLUTION_PATH\packages.config -RepositoryPath $currentFolder..\Packages -Source $NugetsSource -FileConflictAction Overwrite;
Beta Was this translation helpful? Give feedback.
All reactions