Seeing a lot of pop up errors in Visual Studio 2022 - visual-studio-2022

Seeing a lot of pop up errors in Visual Studio 2022.
I am using Visual Studio Community 2022 - 17.3.5.
I am using .NET 7.0 (Preview) .NET 7.0.100-rc.1.22431.12.
Things don't really seem to work.
I have no idea what is happening.
I have tried to Update and Repair Visual Studio.

Related

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

Not able to restore nuget packages/Manage nuget packages not working in visual studio 2017

I tried to open a .Net Core solution which was working fine in 2015. Recently they added some .Net Core projects to the solution and asked us to upgrade to Visual Studio 2017 to be able to run them. We installed Visual Studio 2017 and tried to open the solution, but I am not able to build it. I get the following errors when I right-click and try to select "Manage Nuget packages".
I tried to open the PackageManager console from Tools: even this is not working
I also performed the "repair Visual Studio" process too.
Finally i resolved it by deleting my nuget.config both at project level and also in %appdata%/roaming/nuget .I think the issue is because of broken config file due to change from visual 2015 to visual studio 2017 .Not sure about the exact issue though

How to convert a C++/CLI project from vcprj to vcxprj using Visual Studio 2017

I'm migrating a C++/CLI project from VS2008 to VS2017 but I always get an error when "reloading" the project to convert.
The project don't load and I don't see any clear error message about the reason.
You should check that the correct components of Visual Studio 2017 are installed.
May be it's not installed by default in your case. It happened to me when I installed Visual Studio 2017 using this chocolatey package
You can solve this issue with the steps in this question: Visual Studio 2017 Professional C++/CLI Missing

visual studio 2017 safemode

After I installed an extension to Visual Studio 2017 Enterprise, VS crashes on startup. In previous versions there was a /safemode switch. I tried it but it seems to be no longer supported. What can I do to suppress loading of extensions in Visual Studio when it crashes (cannot disable extensions via extension manager).
Thanks
There is still a /SafeMode switch. If this does not help you need to do a repair on visual studio 2017
https://learn.microsoft.com/en-us/visualstudio/ide/reference/safemode-devenv-exe

Visual Studio Express 2015 for windows 10 does't have visual basic form template

I can't find that, is there a problem? Please I can't find it not even in the C# or C++ or javascript, please HELP!
Visual Studio Express 2015 for Windows targets the Universal Windows Platform, not WinForms. For WinForms you'll need Visual Studio Express 2015 for Desktop or Visual Studio 2015 Community Edition.
If you meet it's licensing requirements I'd recommend the Community Edition.
See: https://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx