dotnet / pinvoke

A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
MIT License
2.12k stars 222 forks source link

.NET 3.5 support #305

Closed NN--- closed 7 years ago

NN--- commented 7 years ago

Any possibility to support .NET 3.5 ?

AArnott commented 7 years ago

I'm not sure. Lacking anything else you can always copy and paste the methods you need into your 3.5 project. We might be able to add support conveniently with the new project types in Dev15. I'll look into that.

Can you share your scenario that need 3.5? Just curious.

NN--- commented 7 years ago

My project is built with .NET 3.5. It is a product decision and while we support Windows 7 and .NET 3.5 is supported by MS , I doubt it will change.

AArnott commented 7 years ago

I didn't think .NET 3.5 was supported by MS any more. In fact I heard 4.0 wasn't either. (at least not without a special long-term support contract).

Anyway, good news: Dev15's new multi-targeting project type supports net35. So this should make it much more manageable to add another target framework to PInvoke -- when it's mature. Dev15 RC is still a bit rough in this area.

NN--- commented 7 years ago

https://support.microsoft.com/en-us/gp/framework_faq/en-us

AArnott commented 7 years ago

314 will help us deliver on this quite easily.