Top ".net-standard" questions

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

HttpContext in .net standard library

I am working on couple of projects one of which is an ASP.NET 4.5 application and other one is .Net …

c# .net asp.net-core .net-standard
What are .NET Platform Extensions on docs.microsoft.com?

There is a framework-level navigation element at Microsoft Docs called ".NET Platform Extensions". It contains docs on recently added APIs …

.net .net-core nuget nuget-package .net-standard
Copy files from Nuget package to output directory with MsBuild in .csproj and dotnet pack command

Last time I had to find out how to extract some files from a Nuget package in took me at …

c# .net msbuild nuget .net-standard
Could not load file or assembly "System.ValueTuple, Version=0.0.0.0" or one of its dependencies

I tried to update my project to .NET Standard 2.0 and during testing I got catch an exception: System.IO.FileLoadException: …

.net-standard
Is EF Core Add Migration Supported from .NET Standard Library?

We have been trying to run EF Core Migration in .Net Standard 1.6 class library, but it has been failing. But …

c# asp.net-core entity-framework-core .net-standard
"Error MSB4057 missing target pack" when building .netstandard nuget package

I'm trying to create a .netstandard nuget package following these instructions, using VS2017 RC. It builds fine, but when I …

msbuild nuget visual-studio-2017 .net-standard
Netstandard1.x Nuget packages cannot be installed for netstandard1.x projects

After doing a fresh Windows 10 installation along with latest Visual Studio 2015, netcore, and nuget tooling - I can no longer …

c# visual-studio nuget .net-core .net-standard
Nuget cannot restore Microsoft.Net.Compilers.1.0.0

I am trying to install/restrore Microsoft.Net.Compilers.1.0.0 in VS 2017 using Nuget Package Manager. In the output it shows …

visual-studio-2017 nuget nuget-package .net-standard nuget-package-restore
Installing a .NetStandard 2.0 Nuget package into a VS2015 Net 4.6.1 project

I'm trying to install a Nuget package that targets .NetStandard 2.0 (Microsoft.Extensions.Logging.Abstractions) into a Net 4.6.1 project in Visual …

c# visual-studio nuget .net-standard
Visual Studio 2017 won't load .NET Framework references in .NET Standard library

I've installed Visual Studio 2017. I have a class library in the new .NET Standard format, which is able to be …

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