Re-target a project to a different version of. NET version that's compatible with the version that's targeted by the projects or assemblies that your application references. To resolve the error, make sure that your application targets a. Project ClassLibrary-NET6 supports: net6.0 (.NETCoreApp,Version=v6.0)ΔΆ>Done building project "ClassLibrary-NET31.csproj" - FAILED. Here's an example of the error you might see in this case: error NU1201: Project ClassLibrary-NET6 is not compatible with netcoreapp3.1 (.NETCoreApp,Version=v3.1). NET to a project or assembly that targets. However, you can't set a reference in a project that targets an earlier version of. NET 6 but references an assembly that targets. For example, you can create an application that targets. ![]() You can create applications that reference projects or assemblies that target different versions of. Reference a project or assembly that targets a different version of. ![]() This topic describes MSBuild errors that might occur because of reference issues and how you can resolve those errors.
0 Comments
Leave a Reply. |