Top ".net-standard" questions

The .NET Standard is a formal specification of .NET APIs that are intended to be available on all .NET runtimes.

What is the difference between .NET Core and .NET Standard Class Library project types?

In Visual Studio, there are at least three different types of class libraries you can create: Class Library (.NET Framework) …

.net .net-core class-library .net-standard
Is ConfigurationManager.AppSettings available in .NET Core 2.0?

I've got a method that reads settings from my config file like this: var value = ConfigurationManager.AppSettings[key]; It compiles …

c# .net-core app-config .net-standard
Auto Versioning in Visual Studio 2017 (.NET Core)

I have spent the better part of a few hours trying to find a way to auto-increment versions in a .…

c# visual-studio .net-core visual-studio-2017 .net-standard
What do Yellow Warning Triangles mean on Dependencies in Visual Studio 2017?

I have just converted my PCL library to a new .Net Standard library and I have some Yellow Warning triangles …

nuget visual-studio-2017 .net-standard
'Could not load file or assembly 'netstandard, Version=2.0.0.0, ...'. Reference assemblies should not be loaded for execution

Goal: From a .NET 4.7 console app, using reflection with Assembly.GetType(), I am trying extract the Type of a netstandard 2.0 …

c# .net dll .net-assembly .net-standard
Type 'Object' is defined in an assembly that is not referenced (NET Standard 2.0/.NET Framework 4.6.1)

I'm using the .NET Standard 2.0 preview, on which my Class Libraries are based. After having trouble with a few NuGet …

c# .net .net-standard .net-4.6.1
Does C# 8 support the .NET Framework?

In Visual Studio 2019 Advanced Build settings, C# 8 does not appear to be available for a .NET Framework project, only (as …

c# .net visual-studio .net-standard c#-8.0
Unit testing internal methods in VS2017 .Net Standard library

I am currently playing around with the latest Visual Studio 2017 Release Candidate by creating a .Net Standard 1.6 library. I am …

c# unit-testing visual-studio-2017 .net-standard
Could not load file or assembly 'System.ComponentModel.Annotations, Version=4.1.0.0

I have a .NET Standard 1.4 class library that references the System.ComponentModel.Annotations (4.3.0) NuGet package. I'm then referencing this class …

.net visual-studio-2017 .net-standard .net-standard-1.4
Can't get .NET Standard 2.0 installed

I'm trying to create a .NET Standard 2.0 project, however on the project properties page it only has options up to .…

.net visual-studio-2017 .net-standard .net-standard-2.0