python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Determining/controlling which version of a referenced Multi target (.net standard and .net framework) library gets used within same solution?
Example, using Visual Studio 2019 on Windows 10:
Created a class library ("MyLib1") targeting both .net standard and .net 4.7.2 .
Part of the csproj file looks like this:
<Project Sdk=&qu...
Moe Sisko
Votes: 0
Answers: 0
How to perform certain platform specific instructions in net standard?
I would like to write a logging library in net standard and use it in net framework and net 6.
Within this class library I want to perform an action if this library is used in net framework.
How could...
Iulian Olteanu
Votes: 0
Answers: 1
global usings and .NET Standard 2.0
I recently recognized that I can use the C# 10 feature file-scoped namespaces in .NET Standard 2.0 projects as well by setting <LangVersion>10</LangVersion> in the csproj file.
However, gl...
mu88
Votes: 0
Answers: 1
Changing target framework of class library
I have a class library that currently targets .Net Standard 2.1. When I created the project, I had set it to 2.1 not necessarily for a particular reason. I was being overzealous.
Now I want to use it ...
Sam
Votes: 0
Answers: 0