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
Using paket for the nuget package management causes the auto-generated projects to fail their build.
The reported error is:
...\BenchmarkDotNet.Autogenerated.csproj : warning NU1604: Project dependency %(PaketReferencesFileLinesInfo.PackageName) does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
...\BenchmarkDotNet.Autogenerated.csproj : error NU1101: Unable to find package %(PaketReferencesFileLinesInfo.PackageName). No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org
Which seems to be due to the section in the BenchmarkDotNet.Autogenerated.csproj:
We copy some settings from both the csproj/fsproj and imported targets. It looks like in this case there are some variables in that PackageReference that we aren't able to resolve when we copy it. #1403 should have a proper fix, but in the meantime, should we remove PackageReference from the copied settings @AndreyAkinshin? I'm not sure how to fix just the variables by itself.
Using paket for the nuget package management causes the auto-generated projects to fail their build.
The reported error is:
Which seems to be due to the section in the BenchmarkDotNet.Autogenerated.csproj:
I've created a repo which shows the problem: https://github.com/marklam/paketAndBenchmarkdotnet
The text was updated successfully, but these errors were encountered: