Skip to content

WPF projects don't compile #1337

@virzak

Description

@virzak

Steps to reproduce:

mkdir WpfFormat
cd WpfFormat
dotnet new wpf
dotnet format --verify-no-changes

The resulting error is:

MainWindow.xaml.cs(25,13): error CS0103: The name 'InitializeComponent' does not exist in the current context [WpfFormat.csproj]

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugThis issue describes behavior that is not working as expectedTriagedThis issue has been reviewed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions