Found an odd bug in VS today, for a .Net 6 VB project the Application tab of project properties wouldn't open, I got "an error occured trying to load the page":
Same for Package tab.
Wondered if it was the VS 17.2.6, but another new .Net 6 VB project worked fine. Started dissecting the one that didn't and finally found that Nuget package WebView2 1.0.1264.42 was to blame, downgraded to 1.0.1245.22 and Application tabs shows again.
I have latest WebView2 runtime 103.0.1264.62 that was released just three days ago.
Checked with a .Net fw 4.8 VB project and that works with latest WebView2 nuget, also checked with C# projects .Net fw 4.8 and .Net 6 and they also work fine.
I think it will probably resolve in some way or another by updates later to VS or WebView2/runtime, but in the mean time if someone is troubleshooting the same they may find this post.
There's another bug that has lasted at least 17.2.5 + 17.2.6 though, for VB .Net fw 4.8 project you can't select startup form in Application tab... annoying for my test projects and some ad hoc tools where I frequently change startup forms. Would think I'm not the only one still using VB and .Net fw 4.8 and need set startup form.
Same for Package tab.
Wondered if it was the VS 17.2.6, but another new .Net 6 VB project worked fine. Started dissecting the one that didn't and finally found that Nuget package WebView2 1.0.1264.42 was to blame, downgraded to 1.0.1245.22 and Application tabs shows again.
I have latest WebView2 runtime 103.0.1264.62 that was released just three days ago.
Checked with a .Net fw 4.8 VB project and that works with latest WebView2 nuget, also checked with C# projects .Net fw 4.8 and .Net 6 and they also work fine.
I think it will probably resolve in some way or another by updates later to VS or WebView2/runtime, but in the mean time if someone is troubleshooting the same they may find this post.
There's another bug that has lasted at least 17.2.5 + 17.2.6 though, for VB .Net fw 4.8 project you can't select startup form in Application tab... annoying for my test projects and some ad hoc tools where I frequently change startup forms. Would think I'm not the only one still using VB and .Net fw 4.8 and need set startup form.