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

Adding support for .Net Standard 2.0 (which includes all APIs - i.e. even store banned APIs) #400

Closed Eran-BenShahar closed 6 years ago

Eran-BenShahar commented 6 years ago

Addressing Issue #382. Also, fixed a small typo in XML documentation and consolidates APISets & DESKTOP preprocessing constatns

AArnott commented 6 years ago

Thanks, @EranBE. I've merged the first of your 3 commits. #401 will take care of exposing all APIs to .NET Standard builds as well as mitigate my concern discussed in #382 that Store apps must not ever have the banned APIs included. After #401 is merged I'll take a look at adding a .netstandard2.0 build, which will be important at least to avoid defining a few polyfill types that netstandard2.0 added. I might use this PR or portions of it for that work.