question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

why is #r "nuget: Flips,2.4.4" saying .net framework and not netstandard?

See original GitHub issue

See below. I checked the google.ortools website, and it seems to say that it is netstandard. Why isn’t flips pulling it in as netstandard?

I am on windows, .net 5.0.200.

- #r "nuget: Flips, 2.4.4"
- ;;
C:\Users\nicho\AppData\Local\Temp\nuget\5000--4c0436a8-8001-4579-9353-44451b77434d\Project.fsproj : warning NU1701: Package 'Google.OrTools.runtime.win-x64 8.1.8487' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net5.0'. This package may not be fully compatible with your project.
C:\Users\nicho\AppData\Local\Temp\nuget\5000--4c0436a8-8001-4579-9353-44451b77434d\Project.fsproj : warning NU1701: Package 'Google.OrTools.runtime.win-x64 8.1.8487' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net5.0'. This package may not be fully compatible with your project.
[Loading C:\Users\nicho\AppData\Local\Temp\nuget\5000--4c0436a8-8001-4579-9353-44451b77434d\Project.fsproj.fsx]
namespace FSI_0002.Project

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
nhirscheycommented, Apr 20, 2021

Just for confirmation, the intro problem works on my machine despite the warning.

1reaction
matthewcrewscommented, Apr 20, 2021

@nhirschey I did try restrictions with Paket and it did not help. I’ll try reaching out the the Google OR Tools team about this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues with .NET Standard 2.0 with .NET Framework & NuGet
think about what that means. It means there are effectively no binding redirects anymore. So in some sense the feature is gone.
Read more >
NuGet package not installing in .NET Framework
1 Answer 1 ... The library that you have created targets .NET Standard 2.0, as stated in your tags. .NET Framework 4.5.2 does...
Read more >
If I want to create a NuGet package, should I write it in .NET ...
NET Standard, .NET Core, or .NET Framework? I'm writing a very simple library in C# that manipulates .wav files. What framework should I...
Read more >
Troubleshoot .NET Framework targeting errors
To resolve the error, make sure that your application targets a .NET version that's compatible with the version that's targeted by the projects ......
Read more >
Please stop lying about .NET Standard 2.0 support!
In this post I have a bit of a rant about Microsoft's NuGet packages lying about supporting .NET Standard 2.0 when they kinda...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found