What is the correlation between netcoreapp and netstandard?
See original GitHub issueWhat is the correlation between netcoreapp and netstandard as referencing netstandard
in netcoreapp
does not work?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
c# - What's the difference between the new netstandardapp ...
netcoreapp is the target framework moniker for the .NET Core Platform. If you add netcoreapp to your project.json's frameworks section, then a ...
Read more >difference between NETStandard.Library and ...
Microsoft.NETCore.App is the actual implementation of .NET Core runtime, and NETStandard.Library is the actual implementation of .NET Standard.
Read more >.net core app vs .netstandard
NETCoreApp represents a concrete application type with a runnable implementation. We are shipping one version of this implementation at this ...
Read more >.NET Core vs .NET Framework vs .NET Standard: A Guided ...
A guide for understanding the differences between .NET, .NET Core, .NET Framework, .NET Standard, etc. by exploring the history of the platform.
Read more >how does targeting netstandard versus netcoreapp work? ...
In my humble opinion, the usefulness of .NET Standard being applicable not just to a single, non-executable library assembly but also to the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
How do you mean? You should be able to reference a netstandard library in your netcoreapp application, otherwise something is wrong. can you post your project.json? also, what error are you getting?
To awnser your specific question, netstandard is for libraries and establishes a baseline that diffrent implementations(.net 4.5, .net 4.6, uwp and so on) can support. netcoreapp on the other hand is for .net core applications specifically. Using it you can use libraries from all the netstandard levels below netstandard 1.6
check out https://github.com/dotnet/core-docs/blob/master/docs/concepts/dotnet-standard-library.md for more details
I may not have been very clear, sorry about that.
Maybe the way visual studio creates them is causing the confusion. I created a web app, saw the project.json file was saying the framwork is “netcoreapp1.0” then created a class library and the project.json’s framework node was “netstandard1.6”. When i attempt to reference that class library, and use it with some using statements, i get no intellesense and the build failed. however, like i said on the last comment, restarting vs fixed it, but i still had no intellensense, but at least it built and let me run it to test it.