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

The WPF .NET Core app build error after installed .NET Core 5.0 SDK #2400

Closed
Amy-Li02 opened this issue Jan 6, 2020 · 2 comments
Closed

The WPF .NET Core app build error after installed .NET Core 5.0 SDK #2400

Amy-Li02 opened this issue Jan 6, 2020 · 2 comments

Comments

@Amy-Li02
Copy link

@Amy-Li02 Amy-Li02 commented Jan 6, 2020

  • .NET Core Version: .NET Core SDK 5.0.100 - alpha1 5.0.100.16134
  • Windows version: 1909 (OS Build 18363.535)
  • Does the bug reproduce also in WPF for .NET Framework 4.8?: No

More info:

  1. The WPF .NET Core app build error after installed .NET Core 5.0 SDK, no matter targeting .NET Core 3.1 or .NET Core 5.0.
  2. The Console .NET Core app cannot reproduce this issue.
  3. The WinForms .NET Core app also reproduce this issue.

Actual behavior:
After build the WPF .NET Core app, some error message pops up.
Error

Expected behavior:
The WPF .NET Core app should build successfully.

Minimal repro:

  1. Install .NET Core 5.0 SDK latest build from here: https://github.com/dotnet/core-sdk.
  2. Create a WPF .NET Core app.
  3. Build this app.
@paul1956

This comment has been minimized.

Copy link

@paul1956 paul1956 commented Jan 6, 2020

This also effects WinForms, if you install .NET Core 5.0 SDK existing WinForms 3.1 applications no longer compile with the same errors. If you uninstall the SDK everything works again.

@rladuca

This comment has been minimized.

Copy link
Member

@rladuca rladuca commented Jan 6, 2020

Thanks for reporting this, we're aware of this and are working on it via #2363. There is a fix pending approval and flow which should solve this. Closing in favor of the that issue.

@rladuca rladuca closed this Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.