Can you mix .NET Standard 2.0 & 2.1 in a project?

853 views Asked by At

Is it possible for Project to reference other projects that are a mixture of .NET Standard 2.0 and .NET Standard 2.1?

I have a utility class library based on Standard 2.0 that is used by both a.NET5 and .NET4.8 websites/applications.

In one of my applications, I want to use .NET Standard 2.1 but it complains that my utility class library is .NET Standard 2.0.

All my code is related to the same project so runs in the same Solution.

0

There are 0 answers