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
dotnet --info
.NET Command Line Tools (2.0.0-preview2-006497)
Product Information:
Version: 2.0.0-preview2-006497
Commit SHA-1 hash: 06a2093335
Runtime Environment:
OS Name: Windows
OS Version: 10.0.15063
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.0.0-preview2-006497\
Microsoft .NET Core Shared Framework Host
Version : 2.0.0-preview2-25407-01
Build : 40c565230930ead58a50719c0ec799df77bddee9
This works fine on the latest 15.2 release, so it's a regression in 15.3.
Detailed repro steps so we can see the same problem
git clone https://github.com/AArnott/C5.git
cd c5
git checkout 9d0121eb993f7aeaec1566e22e94f563967935bc
MSBuild /t:restore
cd c5
MSBuild /t:pack
Expected
Build succeeds
Actual
msbuild /t:pack
C:\Program Files\dotnet\sdk\2.0.0-preview2-006497\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(156,15): error MSB4064: The "DevelopmentDependency" parameter is not supported by the "PackTask" task. Verify the parameter exists on the task, and it is a settable public instance property. [C:\git\c5\c5\C5.csproj]
C:\Program Files\dotnet\sdk\2.0.0-preview2-006497\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(141,5): error MSB4063: The "PackTask" task could not be initialized with its input parameters. [C:\git\c5\c5\C5.csproj]
based on what i can see from msbuild module loading log, your issue is happening because msbuild is trying to load nuget.build.tasks.pack.dll from :
'MSBuild.exe' (CLR v4.0.30319: MSBuild.exe): Loaded 'C:\Users\ragrawal.nuget\packages\msbuild.sdk.extras\1.0.3\build\NuGet.Build.Tasks.Pack\Desktop\NuGet.Build.Tasks.Pack.dll'. Cannot find or open the PDB file.
why does msbuild.sdk.extras have a copy of nguet.build.tasks.pack inside it?
The text was updated successfully, but these errors were encountered:
Details about Problem
VS version (if appropriate): d15rel 26709.00
This works fine on the latest 15.2 release, so it's a regression in 15.3.
Detailed repro steps so we can see the same problem
Expected
Build succeeds
Actual
Ported from NuGet/Home#5584 because @rohit21agrawal tracked down the problem to:
The text was updated successfully, but these errors were encountered: