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

Build error on Linux with .NET Core SDK 3 #207

Closed
mfkl opened this issue Feb 20, 2020 · 2 comments
Closed

Build error on Linux with .NET Core SDK 3 #207

mfkl opened this issue Feb 20, 2020 · 2 comments

Comments

@mfkl
Copy link

mfkl commented Feb 20, 2020

Hi,

Minimal repro here: https://github.com/mfkl/linux-sdk-extras-netcore3

Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
/usr/share/dotnet/sdk/3.1.102/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props(208,3): error MSB4019: The imported project "/usr/share/dotnet/sdk/3.1.102/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.WinFX.props" was not found. Confirm that the expression in the Import declaration "Microsoft.WinFX.props" is correct, and that the file exists on disk. 
    0 Warning(s)
    1 Error(s)

dotnet version: 3.1.102
ubuntu version: 18.04.2 LTS

Works fine with <Project Sdk="Microsoft.NET.Sdk"> but I need to use MSBuildSdkExtras for multi targeting.
Works fine with dotnet 2.1.700.

Probably related #133

@mfkl
Copy link
Author

mfkl commented Apr 2, 2020

dup dotnet/sdk#11108

@Nirmal4G
Copy link
Contributor

Nirmal4G commented Jun 4, 2020

The Fix is here: dotnet/wpf#2975

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants