-
Notifications
You must be signed in to change notification settings - Fork 43
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
error MSB4019: "Microsoft.WinFX.props" was not found #224
Comments
Same here MacOSX (case sensitive) newly installed. Google.Play.Services and AndroidX (Xamarin.Android) builds
output:
Workaround:
|
Expected someone should've hit this. The Fix is here: dotnet/wpf#2975 |
You fixed WPF, but what about other projects? Solution is to add tests on Mac case sensitive APFS as early as possible. Xamarin.Android team is quite safe regarding to this problem, because some of the team members are working on Linux which is case sensitive by default. |
@moljac dotnet/wpf#2975 (comment)
If there are any other targets that are in incorrect case, please let me know. For now, your workaround to rename the file is the solution. |
I'm on Xamarin.Android team and detected this "by accident". Who would install case sensitive filesystem support, but crazy bored guy... And I did. And maybe case sensitive tests could be added. |
Yeah, on the other hand, tests should be added. For the fix, we could conditionally import the desktop sdk targets. |
We already do conditionally detect and import the desktop sdk targets: |
I meant the Since, we always import the desktop Sdk props/targets which in turn imports the |
Duplicate of #207 ? See dotnet/sdk#11108 |
We can't build off Windows anyway due to: novotnyllc/MSBuildSdkExtras#224
We can't build off Windows anyway due to: novotnyllc/MSBuildSdkExtras#224
On my Ubuntu machine, I run into the error below when trying to compile a .NET Standard 2.0 class library using the
MSBuild.Sdk.Extras
package (if I switch back to the defaultMicrosoft.NET.Sdk
the error does't show):Steps to reproduce:
dotnet new classlib
;<Project Sdk="MSBuild.Sdk.Extras">
;global.json
to the root of the project with the following content:dotnet restore
dotnet build
I have noticed that the
Microsoft.WinFX.props
file does exists but spelled with a lower case "x". For now a workaround is to simply rename the file:Not sure this is the correct place for this issue. But it looks like the
Microsoft.WinFX.props
target is incorrectly referenced by the MSBuild.Sdk.Extras package since it is ment to be used fro WPF and WinForms projects which are not supported on Linux and MacOS. My assumption is this problem doesn't occur on MacOS since it doesn't use a case sensitive filesystem be default.The text was updated successfully, but these errors were encountered: