Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .NET 5 target #90

Merged
merged 2 commits into from
Jul 14, 2021
Merged

Add .NET 5 target #90

merged 2 commits into from
Jul 14, 2021

Conversation

Archomeda
Copy link
Owner

This adds a separate .NET 5 target in order to make use of the new attributes that can check for platform support. We'll use this for the Mumble Link API, which is only available on Windows. Using this API on any other platform will raise a compiler warning.

We now also explicitly throw the PlatformNotSupportedException on non-Windows versions ourselves, instead of letting it being handled by the underlying .NET system.

@Archomeda Archomeda added Type: Feature An addition to the project Area: Build Related to building, CI, etc. Area: Mumble Link Related to the Mumble Link API labels Jul 14, 2021
@sonarqubecloud
Copy link

@Archomeda Archomeda merged commit 2a51011 into master Jul 14, 2021
@Archomeda Archomeda deleted the dotnet5 branch July 14, 2021 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Build Related to building, CI, etc. Area: Mumble Link Related to the Mumble Link API Type: Feature An addition to the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant