Visual Studio 2022 is Auto-collapsing Solution Explorer Folder Trees - visual-studio-2022

I've upgraded from VS 2019 to VS 2022. I have found that Visual Studio 2022 is automatically collapsing Solution Explorer sub-folders trees whilst I edit the code. I do not have the CodeMaid extension installed and I have ticked the checkbox "Track Active Items in Solution Explorer" in Tools->Projects and Solutions->General.
Any ideas as to what I should do to keep these sub-folder trees expanded as I would like them to be?

Related

visual studio 2022 is not opening c# files. the error in solution explorer is "not found" Do not know how to access my files again

visual studio 2022 is not opening c# files. the error in solution explorer is "not found" Do not know how to access my files again.kindly view attached image as i am quite new to visual studi....

I cannot find an Open File Dialog a Visual Studio 2022 WPF project

In previous editions of Visual Studio I could get an OpenFileDialog by creating a reference to System.Windows.Forms. In Visual Studio 2022, when I click on Add and choose Reference, I can't find a reference to System.Windows.Forms. What is going on?

How to remove an already-installed Visual Studio 2013 extension .vsix file?

I've just installed Productivity Power Tools 2013 for my Visual Studio 2013 and then playing with the option of this extension and I get crashed :-(
i.e.
The Solution Explorer window is now empty.
Cannot exit Visual Studio
Going for Tools - Extension and Updates fails too
What can I do to get back to where I was >.<
Find the correct folder under following folders for this extension and delete it
C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\11.0\Extensions
C:\Users\[username]\AppData\Roaming\Microsoft\VisualStudio\11.0\Extensions

Add VB.NET to Visual Studio 2010 Professional

In the past I have only used Visual Studio 2010 Professional for C#, but now I need to work on a little bit of Visual Basic. When I go to create a project it only shows C# project templates. I am assuming when I installed Visual Studio 2010, I only installed C#.
How do I now install VB.NET support?
I tried following a MS tutorial: I went to Control Panel and selected Change/Uninstall on Visual Studio, but then it asked me to insert a CD, of which I have none since it was donwloaded.
Nevermind I figured it out. (win7) Control Panel -> Programs and Features -> Uninstall/Change on Visual Studio -> then when you hit the Add/Remove features and you get the popup asking about the cd (which is where I assumed i was stuck before) if you hit Download it takes you to the dialog where you choose additional languages to install and it worked.
I apologize for my earlier flippant comment, and offer you
http://download.cnet.com/Microsoft-Visual-Studio-2010-Professional/3000-2212_4-10618634.html
I had same problem but i did the simplest solution ,since i had my .iso(visual studio express) file i had downloaded I used my winrar to extract files ,went to VBExpress ,open the folder and click on the setup and it all worked out successfully...

Blend For Visual Studio 11 get an error

Installed Windows 8 Consumer Preview
Installed Visual Studio 2010 Premium
Installed Visual Studio 11 Ultimate
Everything installed without any errors.
I created a new Windows 8 Metro app using Visual Studio 11 and have no issues viewing xaml in VS 11 designer. If I view it in Blend For Visual Studio 11 a propup with error:
The project 'TestApp.csproj' could not be opened. The imported project 'C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v11\Microsoft.Windows.UI.Xaml.CSharp.Targets' was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. c:\Users\testuser\Documents\Visual Studio 11\Projects\TestApp\testApp.csproj
Also if I create a Windows Metro style project(any of the templates) in Blend For Visual Studio 11 it shows an empty solution after it's done. When I look at the directory of where it suppose to create it I only see the project files but no solution.
Has anyone else had these issues?
Now the only question is how
--Comment 1--
No, path C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml**v11**\Microsoft.Windows.UI.Xaml.CSharp.Targets doesn't exist. The path on the file system is C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml**v11.0**\Microsoft.Windows.UI.Xaml.CSharp.Targets
When I look at the project file this is what I see:
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' ">
<VisualStudioVersion>11.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
The project file seems to be telling it the correct location so I'm not sure why it's trying to look in the wrong path?
--End Of Comment 1--
Try this workaround from the known issues list:
1.3.3.35 Blend cannot create projects for Metro style apps built using HTML when Visual Studio 2010 is installed after Visual Studio 11 Beta
When Visual Studio 2010 is installed after Visual Studio 11 Beta, the
installation changes an environment variable to a variable that is
incompatible with Blend.
(emphasis added)
To resolve this issue:
To work around this issue, do the following:
Right-click Computer, and then click Properties.
Click Advanced Properties.
In the System Properties dialog box, on the Advanced tab, click Environment Variables.
Under System Variables, click New.
Under Variable name, type: VisualStudioVersion.
Under Value, type: 11.0.
Click OK.
For Windows 8, to get to the environmental variables:
Do a search for Advanced System Settings
Make sure you have Settings selected on the right hand side
Select the View advanced system settings option