- .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:
- 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.
- The Console .NET Core app cannot reproduce this issue.
- The WinForms .NET Core app also reproduce this issue.
Actual behavior:
After build the WPF .NET Core app, some error message pops up.

Expected behavior:
The WPF .NET Core app should build successfully.
Minimal repro:
- Install .NET Core 5.0 SDK latest build from here: https://github.com/dotnet/core-sdk.
- Create a WPF .NET Core app.
- Build this app.