Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
VS doesn't support environment variables in repositoryPath (NuGet.exe does) #2763
I have installed the latest Nuget Package (version: 126.96.36.1995) and it is not able to resolve environment variable mentioned in the “repositoryPath” (Nuget.config). However, NuGet.exe (console application) is able to resolve it.
The path is mentioned as shown below:
MYNUGETPATH should resolve to a folder located on my local machine.
I get the following error when I try to install any package for a project.
"The given path's format is not supported."
referenced this issue
May 17, 2016
It was targeted for NuGet.exe (for CI), but I thought it would work for the Visual Studio plugin since it appeared to use the same
@zhili1208 my project is a web application(its just a blank web app) and I am using full path in the environment variable. For example:
As mentioned above by the developers I think this will be fixed in 3.4.5. So I'm waiting for it.