-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 app cannot be built in VS2019RC+Net Core 3 Preview 4 #408
Comments
Thanks for filing this issue. I'm able to reproduce this inside VS as well, but noticed that building from the cli via |
Yes, I'm using command line for now, it is not as comfortable as Visual Studio though |
This has been annoying. Since dotnet/msbuild#3986, I can't build my project from CLI. |
I have a fix for this in PR. |
This is awesome, thanks @nguerrera! |
Thanks, Nick. |
This is now fixed as of .NET Core SDK 3.0.100-preview4-010654 |
.NET Core Version: 3.0.100-preview4-010591
Windows version: 1809 (17763.316)
Does the bug reproduce also in WPF for .NET Framework 4.8?: No
Problem description:
If an application contains XAML-files a build error occurs:
1>C:\Program Files\dotnet\sdk\3.0.100-preview4-010591\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.WinFX.targets(243,9): error MC1000: Unknown build error, 'Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.'
Actual behavior:
Build error occurs
Expected behavior:
No build errors
Minimal repro:
The text was updated successfully, but these errors were encountered: