Skip to content

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

@Amy-Li02-zz

Description

@Amy-Li02-zz
  • .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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions