Jump to content
The simFlight Network Forums

Target .NET Standard 2.0


Clamb

Recommended Posts

Hi,

would it be useful/possible to target .NET Standard 2.0 for the NuGet package?
This should "automatically" enable support for all those .net versions:

   
 
.NET and .NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0
.NET Framework

4.6.1 , 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

I'm currently developing on .NET Core 7.0, which is technically not supported with the current version on NuGet, but works fine nonetheless. It just gives me plenty of compiler warnings.

Best regards
Axel

Link to comment
Share on other sites

Hi Axel,

It's not possible to target the dll to .NET Standard because it uses some WinForms libraries which are not included in .NET Standard. That's why I have to target net6.0-windows and not plain net6.0.

In any case, FSUIPC uses the Win32 API for communication so the dll cannot run on any other platform except windows. 

I can look at adding net7.0-windows to the target frameworks if that would be of any use?

Paul

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.