How do I target .NET Standard 2.0 in a freshly created .NET Core 2.0 web app?
问题 I've just created a fresh project using dotnet new web . My Google-foo may be failing me, but I didn't find anything relating to my answer (please link to another SO answer, or relevant documentation if I've missed something obvious). If I want to ensure this new project is .NET Standard 2.0 compliant, what do I now do? 回答1: NET Standard is for class libraries. Applications must target netcoreapp* where * is a version number. The following shows the compatibility matrix: https://docs