-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSBuildVersion 15 not supported #5170
Comments
Please use nuget.exe 4.1 from https://dist.nuget.org/index.html and specify MSBuildVersion 15.1, because actually msbuild version is 15.1 for VS 2017, so specifying 15 can't find msbuild |
Dealing with this issue since yesterday. I actually had to uninstall previous MSBuid versions on my build server and remove the -MSBuildVersion argument from the call to get it to work with 15.1. |
I cannot get this to work even if I specify 15.1 as the -MSBuildVersion. P.S.: The agent is specified as "VS 2017". The NuGet version is specified as 4.0.0. I tried using 4.1.0 but no luck so far. There is no documentation regarding how to use "NuGet Tools Installer" task.
The same exception is thrown if I specify MSBuildVersion as "15" instead of "15.1". |
NuGet 3.5 didn't find v15, I've downloaded latest NuGet 4.3 and had to remove -MSBuildVersion (attempts to specify 15, 15.0 or 15.1 didn't help).
The last sentence is wrong/misleading. I confirmed that only -MSBuildVersion 15.3 is acceptable value on my machine. |
Fixed in NuGet/NuGet.Client#2673. |
Please read the following information before posting the issue.
Before posting the issue...
Remove the content above here and fill out details below.
Details about Problem
NuGet product used (NuGet.exe | VS UI | Package Manager Console | dotnet.exe):
nuget.exe
NuGet version (x.x.x.xxx):
3.5.0.1996
dotnet.exe --version (if appropriate):
1.0.3
VS version (if appropriate):
2017
OS version (i.e. win10 v1607 (14393.321)):
10.15063.138
Worked before? If so, with which NuGet version:
n/a
Detailed repro steps so we can see the same problem
nuget pack
MSBuildVersion 15
Other suggested things
Verbose Logs
The text was updated successfully, but these errors were encountered: