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.

What is the correlation between netcoreapp and netstandard?

See original GitHub issue

What is the correlation between netcoreapp and netstandard as referencing netstandard in netcoreapp does not work?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
aL3891commented, Jun 19, 2016

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

1reaction
brentlyjdavidcommented, Jul 10, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

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