In a simple WPF, I have renamed MainWindow class to MyClass and I got this error in App.g.cs:
public static void Main() {
MyClass.App app = new MyClass.App();
app.InitializeComponent();
app.Run();
}
How can I fix this can't find anything on the internet ?
App
a nested class insideMyClass
?MyClass
is a namespace ?MyClass.App app
looks weird to me.