.NET MAUI project properties is not loading in Visual Studio 2022 - visual-studio-2022

I have created a .NET MAUI application with Visual Studio 2022 on Windows and when I do right click on .NET MAUI project in Solution Explorer and navigate to Project Settings, the UI editor tries to initialize and stucks in a screen saying "Loading Properties...". I am waiting for a few minutes and nothing happens. I also tried to reproduce in a new project and I have the same behavior. I also tried in Visual Studio 2022 (Preview) and same behavior here. I have updated both Visual Studio 2022 (Professional & Preview) and I have the same behavior. Any ideas why this happens ?
The only time project settings worked was only I accidently opened the Android manifest file. Then I tried to reproduced it again and nothing happens.

Related

Visual Studio 2022 Debugger thinks I changed code and wants to hot reload

EDIT: Good information provided below to diagnose, but the issue was I was running Visual Studio 2022 17.3. Version 17.4 is required for .NET 7, and I had just installed that. Once I installed the latest version of VS, all my problems went away. Install with Visual Studio
Suddenly today, debugging my ASP.NET Core 6 and 7 apps suddenly has stopped working. I hit F5 to debug, it stops on my breakpoint, but as soon as I continue or step into, I'm shown this dialog:
I haven't made any changes to code, I'm simply trying to continue after I've stopped at a breakpoint. This just started happening today and I can't figure out what I did.
I haven't made any changes to code, I'm simply trying to continue
after I've stopped at a breakpoint. This just started happening today
and I can't figure out what I did.
Well, if your visual studio stop working for debugging all type of application, please check following configuration:
1. Tools > Options > Debugging > .NET/C++ Hot Reload
2. Tools > Options > Projects and Solutions > ASP.NET Core >
Furthermore, If you select the Always rebuild option in the dialog box, you won't see the dialog box again in the current Visual Studio session, and Visual Studio will automatically rebuild and reload instead of showing the dialog box.
Note:
In addition, as you can see above in the first release of Visual Studio (version 17.0) the standard Edit and Continue dialog is still shown when using Hot Reload with the debugger. This was a bug and has been resolved starting with 17.1 Preview 2 release.
If you still need more details about the issue you are having with, I would higly recommend you to check our official document here.
If issue still perist:
After checking above configuration, if your issue still persists and if you are not using Visual Studio (version 17.0) then you still reset your unknown setting in visual studio as following:
Go to Tools > Import and Export Settings.
Then No, just reset settings
Finally, restart Visual studio.
You can get more details here.

Solution Explorer in Visual Studio 2022

I just installed Visual Studio 2022 professional, installation went perfectly without failures. However, when I try to create any project I get solution explorer like this ('Webapplication1' (0 project) ) and it doesn't show the normal hierarchy with controller and startup file, etc. How to fix this issue?
It looks as follows:
I tried to reinstall vs2022, but it doesn't work.

VB Razor (*.VBHTML) IntelliSense isn't working with Visual Studio 2022

In Visual Studio 2019 *.vbhtml files were working fine in my computer. After upgrading to Visual Studio 2022, C# IntelliSense and highlighting are still working, but in VB IntelliSense and highlighting fully disappear.
Also, any attempt at adding VB templates (Microsoft.VisualStudio.Web.CodeGeneration.Design) became forbidden.
Is there a way to bypass these restrictions and unblock VB in Razor Pages with some tuning of Visual Studio or with some extension for Visual Studio or with some 3rd party product?
Razor Pages are no longer supported in VB.NET after MVC5. As noted, editing and compilation (without IntelliSense) did work under Visual Studio 2019, but that functionality has been removed in Visual Studio 2022.
A working alternative for MVC and Razor Page projects in VB.NET under .NET Core 6 is Vazor, which can be found here.
My final solution you can see there https://github.com/Alex-1557/SplitViewAndCodeInAsp.Net.Core.Project/tree/main
Yes, have I lost opportunity to use VB in View and VBHTML, but I receive opportunity to split ASP.NET Core project to 2 full different projects.
For connect static files to root I have rebuilded this extension https://marketplace.visualstudio.com/items?itemName=CeciliaWiren-CeciliaSHARP.FolderToSolutionFolder
for Visual Studio 2022 - https://marketplace.visualstudio.com/items?itemName=alexev14.AddFolderToSolutionForVS2022

No XAML Hot Reload for WinUI projects in either VS2019 or VS2022

I've tried with both Visual Studio 2019 (16.11.5) and Visual Studio 2022 (17.0.0 P5), but am unable to get XAML Hot Reload working for WinUI projects (both UWP and Desktop types).
WPF project's are unaffected and XAML Hot Reload continues to work.
Can anyone offer any suggestions?
I'm running Windows 10 20H2 and have the extension Windows App SDK (Experimental) 1.0.0.50489432 installed, with Hot Reload enabled across all frameworks:

Universal Windows App Visual Studio 2015 Community no designer, no controls in toolbox, no properties

I am using Visual Studio Community 2015 to create Universal Windows App.
I am facing following problems-
1. No designer view.
2. No controls in toolbox.
3. Property window don't show any properties of control.
4. No phone emulators are shown after installing EmulatorSetup.exe
Visual Studio Installed Components are as follows
Microsoft Visual Studio Community 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01055
Installed Version: Community
Visual Basic 2015 00322-20000-00000-AA136
Visual C# 2015 00322-20000-00000-AA136
Visual C++ 2015 00322-20000-00000-AA136
Application Insights Tools for Visual Studio Package 4.2.60128.3
ASP.NET and Web Tools 2015.1 (Beta8) 14.1.11106.0
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
ASP.NET Web Frameworks and Tools 2013 5.2.30624.0
Common Azure Tools 1.5
JetBrains ReSharper Ultimate 10.0.2 Build 104.0.20151218.120627
JSLint.NET for Visual Studio 2.2.0
Microsoft Azure Mobile Services Tools 1.4
NuGet Package Manager 3.3.0
PreEmptive Analytics Visualizer 1.2
SQL Server Data Tools 14.0.50616.0
TypeScript 1.7.6.0
Visual Studio Tools for Universal Windows Apps 14.0.24720.00
Web Essentials 2015.1 1.0.209
I have had the same problem and the only way I have got the designer to work is (and this should work if build 10240 is acceptable for your development):
Open your project
Go under "Project" to "Properties"
Select "Application" on the left and change BOTH the target version and the min version to "Windows 10 (10.0; Build 10240)
Once you do that the XAML designer will start working again. I've had to do this on 4 different workstations and it's worked everytime.
As to why build 10568 doesn't work? Got me, agile development, will be fixed in a patch? :p
I had the same problem and could not change BOTH versions to Build 10240 as the Application listbox only showed 10586 in Properties/Application. I thought I could arrange that by editing the .csproj file, which is XML after all, but any change there makes all files in the Solution Explorer immediately unavailable. Then I noticed (running Winver.exe) that my W10 still shows build 10240 despite regularly (but not automatically) running Windows updates. Despite multiple solutions tried, this didn't change. I finally used the MediaCreation Tool to download a new Windows 10 on a USB stick and reinstalled Windows 10, preserving apps and data. And now I am really on 10586 ...and the Design mode shows again when I open my project.
I hope this helps a few!
If you are looking for the SSIS toolbox, click SSIS tab, then SSIS Toolbox.