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 pack DoenaSoft.NugetTest\DoenaSoft.NugetTest.csproj --no-build -c=Release -o=./
error NU5026: The file '{...}\bin\Release\net472\DoenaSoft.NugetTest.dll' to be packed was not found on disk. [{...}\DoenaSoft.NugetTest.csproj]
Even when I - for the sake of argument- add an AnyCPU configuration and build it and then deliberately tell to not pack in the nuget
I try to create a nuget for
x86
andx64
explicit, but deliberately noAnyCPU
(see https://learn.microsoft.com/en-us/answers/questions/1373133/ ).dotnet.exe pack
doesn't like this and quits withEven when I - for the sake of argument- add an
AnyCPU
configuration and build it and then deliberately tell to not pack in the nugetthat still gets ignored and get packed into the nuget spec
Sample github project and build script here: https://github.com/DJDoena/DoenaSoft.NugetTest/tree/412f3a5451c39471eaae2531b10708bfeb6fe31b
The text was updated successfully, but these errors were encountered: