-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Steps to reproduce
-
Install dotnet CLI from https://dotnetcli.blob.core.windows.net/dotnet/Sdk/1.0.0-preview3-003618/dotnet-dev-win-x64.1.0.0-preview3-003618.zip . By installing, i mean extract the downloaded zip into a directory.
-
Run dotnet.exe restore on the attached project
-
Run dotnet.exe build3 to build the project.
-
Run dotnet.exe pack3 to pack - this will trigger a missing method exception.
This is because msbuild.exe loads up the wrong nuget.commands.dll .
Expected behavior
it should load the nuget.commands.dll from %(UserProfile).nuget\packages\nuget.build.tasks.pack\3.6.0-beta.1.msbuild.10\build\netstandard1.3\nuget.commands.dll
Actual behavior
instead it loads the dll from dotnet-dev-win-x64.1.0.0-preview3-003618\sdk\1.0.0-preview3-003618
This is not critical for preview 5 oob as long as nuget pack3 can work by putting the same dependencies in the sdk and cli.