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

WPF support on .NET Core 3.0 breaks .NET Core 3.0 consumers on Linux/Mac #35

Closed
AArnott opened this issue Nov 5, 2019 · 0 comments · Fixed by #39
Closed

WPF support on .NET Core 3.0 breaks .NET Core 3.0 consumers on Linux/Mac #35

AArnott opened this issue Nov 5, 2019 · 0 comments · Fixed by #39
Labels
Milestone

Comments

@AArnott
Copy link
Owner

AArnott commented Nov 5, 2019

The mere presence of WPF support on .NET Core 3.0 for this package injects artifacts into the package nuspec file that breaks the build for anyone depending on this package and building on mac/linux and targeting .NET Core 3.0. Even though they don't care about WPF, the dependency breaks the build.

See dotnet/sdk#3592

We'll need to break up WPF support on .NET Core 3.0 into its own package, evidently. :(

@AArnott AArnott added the bug label Nov 5, 2019
AArnott added a commit to AArnott/vs-threading that referenced this issue Nov 5, 2019
AArnott added a commit that referenced this issue Dec 11, 2019
.NET Core 3.0's design for WPF/WinForms requires that a NuGet package that supports WPF/WinForms on .NET Core 3.0 can only be installed to a Windows-targeted project and cannot be restored or built on another operating system. Since we both want to support WPF/WinForms on .NET Core 3.0 as well as continue to support Xunit.StaFact being used on non-Windows operating systems, we have to split the package in two.

Fixes #35
@AArnott AArnott added this to the v1.0 milestone May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant