You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No matter what I do, the exception is thrown.
Am I missing something?
Steps to Reproduce
uninstall all Visual Studio instances present on the computer.
install clean version of Visual Studio Preview (Version 17.2.0 Preview 2.0). This version comes with the MAUI preview 14.
create a new MAUI project
create new DemoPage, may be empty
replace implementation of OnCounterClicked method with following code:
private void OnCounterClicked(object sender, EventArgs e)
{
var page = new DemoPage();
var wnd = new Window(page);
Application.Current.OpenWindow(wnd);
}
Run the application on Windows and click the "counter" button.
Application crashes with following message:
Referred Just-In-Time option does not exists in Visual Studio (I think it existed in the past but has been removed):
Version with bug
Preview 13 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows, I was not able test on other platforms
Affected platform versions
Windows SDK 10.0.19041
Did you find any workaround?
no
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
Description
Under Windows (Windows 10, Windows 11), trying to create a new window causes application crash.
See attached project:
MauiApp4.zip
No matter what I do, the exception is thrown.
Am I missing something?
Steps to Reproduce
private void OnCounterClicked(object sender, EventArgs e)
{
var page = new DemoPage();
var wnd = new Window(page);
Application.Current.OpenWindow(wnd);
}
Referred Just-In-Time option does not exists in Visual Studio (I think it existed in the past but has been removed):
Version with bug
Preview 13 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows, I was not able test on other platforms
Affected platform versions
Windows SDK 10.0.19041
Did you find any workaround?
no
Relevant log output
No response
The text was updated successfully, but these errors were encountered: