-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[MSBuildExtras] Using msbuild extras under linux fails with missing Microsoft.WinFX.props #11108
Comments
This seems like either an issue with MSBuildExtras itself, or just a limitation of the fact that building projects targeting UAP isn't supported on Linux. FYI @clairernovotny |
That's not it, you can reproduce with just
|
This error is caused by a casing issue, where the import here: Does not match the casing in this folder:
|
The Fix is here: dotnet/wpf#2975 |
Still happening even with the merged fix (SDK 3.1.302) |
This got fixed in dotnet/wpf@b198dcf - or at least the failing line removed in that commit. |
It seems the fix is not merged into SDK 3.1.302! So, I've asked whether it is possible for back porting the fix into 3.1. |
The workaround implemented by Jerome in unoplatform/docker@8e13b5b finally made it possible to use |
still issue in 3.1.421 fixed with: sudo \
cp \
/usr/local/share/dotnet/sdk/3.1.421/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.WinFx.props \
/usr/local/share/dotnet/sdk/3.1.421/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.WinFX.props |
MSBuild extras validates that projects can successfully build under a variety of .NET Runtimes and OSes, and a recent addition of validation of .NET Core 3.1 fails the build under Linux with the following error:
This error does not happen with .NET Core 3.0 and 2.2.
The error happens when building this project, with this script.
The text was updated successfully, but these errors were encountered: