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
`dotnet pack` fails on .NET Core project when `paket.references` contains only File: references #2623
When building a .NET Core project with a
The reason the build will fail is that no intermediate paket reference file is produced (would be
Given the following .Net Core .csproj file:
the build will produce an error.
The build should produce a NuGet package.
The build fails with the following error:
If the .csproj file specifies the property
but this would be fixed by #2621.
Adding the following target to either
Another solution might be to add the following condition to the
This has the added benefit that paket is not invoked, increasing performance.
I have no idea which of these workarounds is best.