-
Notifications
You must be signed in to change notification settings - Fork 5k
Is .NET Standard being retired with .NET Core 3.0? #29670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
.NET Standard is not deprecated and as long as you don't need API's from .netcore3.0 or .netstandard2.1, you should target .netstandard2.0. The projects you are referencing are ASP.Net projects and ASP.Net 3.0 only works on .net core 3.0. Asp.net 2.x was targetting .netstandard 2.0 because it supported .net core and .net full framework. |
No. At least that isn't the plan currently. Corefx in 3.0 will support netstandard 2.1. Desktop framework (netfx) will only support netstandard 2.0 and the plan is to not implement ay later netstandard versions on desktop. After core 3.0 it will be rebranded as 5.0 and a lot of work will be done to integrate multiple framework and runtime implementations into a more coherent ecosystem. for the 3.0 release timeframe you will still end up with mono and corefx separately supporting netstandard 2.1 as far as I know. |
@shaulbehr What version of visual studio are you using? |
Correct, this should work when using VS 2019 with a recent .NET SDK. If you're still seeing issues, please reactivate this and share your |
My solution contains .Net Standard 2.0 library project (with nuget packing configured) and two test projects on .Net Framework 4.7.2 and on .Net Core 3.1. Test projects reference the library project. It's ok in local build and test run. But I get Error in Asure (corporate infrastructure) Pipeline on nuget restore:
The same with .Net Core 3.0 as target of test project. It works only if I remove Core test project from solution.
|
@Gladskih you should open a new issue. If you're having an issue during restore, the correct location for the issue is https://github.com/nuget/home. My best guess is that your corporate build infrastructure is using a very old nuget.exe to restore the project. Make sure you're using dotnet.exe to restore the project. If that doesn't help, open the new issue in nuget repo and attach the msbuild.binlog you get when running |
I'm attempting to upgrade my project to .NET Core 3.0 preview. I've installed the SDK, and updated all my .NET Core projects to
netcoreapp3.0
.I figured that I should do the same for my .NET Standard projects, and update those to the latest version, i.e.
netstandard2.1
. But now when I try to compile my .NET Core projects, I get a compiler error:I searched for this issue and couldn't find anyone else reporting it, but I did find some other projects on GitHub where for .NET Core 3.0 they're moving their .NET Standard projects to .NET Core 3.0, e.g. here and the pull request referenced here.
Does this mean that .NET Standard is being deprecated, and all projects in future will be .NET Core?
The text was updated successfully, but these errors were encountered: