Top ".net-standard" questions

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

Referencing a .NET Standard library from a Windows Class Library

There are two projects in my solution currently: a Windows Class Library (targeting .NET Framework 4.6.1) and another class library that …

c# .net portable-class-library .net-standard
Environment.MachineName equivalent for .NET Standard 1.4

I am creating a class library that will be used in a WPF project and a .NET Core project. I …

c# .net .net-standard computer-name
Project 'ClassLibrary1.csproj' targets 'netstandard2.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.8'

I have some class library projects in targets netstandard2.1. When I referenced that to my WPF project in target .NET …

c# .net .net-standard .net-4.8 .net-standard-2.1
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 …

c# asp.net asp.net-core .net-standard
How to test .NET Standard 2 library with either NUnit, xUnit or MSTest from either Rider or VS 2017?

I have a project where I use Azure Durable Functions, and they are available only on .NET Standard 2. So, it …

c# .net unit-testing azure-functions .net-standard
Could not load file or assembly 'Microsoft.Data.SqlClient

I am calling a .net standard 2.0 library from a framework 4.7.2 test project sucessfully. If I take my .net standard 2.0 dll (…

azure-devops entity-framework-core nuget .net-standard .net-4.7.2
How can I get NUnit3TestAdapter to work with .Net Standard 2.0?

How can I get NUnit3TestAdapter to work with .Net Standard 2.0? I receive the following error: 1>C:\Nikeza\Mobile\…

nunit .net-standard
Error while reading json file in dotnet core "the configured user limit (128) on the number of inotify instances has been reached"

I have an console application (in dot net core 1.1) which is scheduled in cron scheduler for every 1 min. Inside the …

c# asp.net-core .net-core .net-standard
was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '

I am trying to reference a nuget package which is clearly .NetStandard2.0. We own the source code for this package …

.net .net-core nuget .net-standard
How to get memory available or used in C# .net core / .net standard

Is there a way to know the current used memory in the current process? I checked many questions: How to …

c# .net asp.net-core .net-core .net-standard