Visual Studio 2022 Missing Many View | Other Windows - visual-studio

I just installed Visual Studio 2022 Community Edition. It is missing many items and is not really usable.
For example, under View | Other Windows, there are just three items:
Stack Trace Explorer
Package Manager Console
IntelliSense
There should be many more. In particular I installed the Python Development workload, and I later installed the VS History 2022 extension. (Both show in the installer.) The Python Environments window and the Visual Studio File Histories window should be there, but they aren't. Alt-I should bring up the Python Environments. It just dings.
I have checked the installer. Python development is checked. Python is, in fact, installed. It is at:
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\Microsoft\Python
There is no Git on the toolbar.
Under Tools | Options there is nothing for Git, Python, or VS History Files as there is for Visual Studio 2019.
In addition there is no External Tools option under the Tools menu as there is for Visual Studio 2019.
In the lower right where it should show the Commit button (for a solution which has a Git repository) there is "Add to Source Control" (which does nothing).
I have Googled and found no one else with these problems. There are plenty of articles, such as how to use the Python Interactive window and Tools | External Tools explicitly mentioning Visual Studio 2022. So it must something I have not done, but I cannot find it nor determined how to fix it.
I have restarted the computer several times. It has not fixed it.
I have been using Visual Studio since at least Visual Studio 2008 and am an experienced user. I have never had these kinds of problems installing the next version. I am able to work on a Windows Forms project, at least to build and run it (but not to commit the changes). I do not seem to be able to do anything else.
Any help would be appreciated.

Related

What do I need to do to program an MFC/STL program in Visual Studio?

I've installed Visual Studio on my private PC, the version is "Microsoft Visual Studio Community 2019", version 16.1.6.
In order to prepare a job interview, I'd like to do some basic MFC/AFX programming, starting by the basic CMapStringToString example from the Microsoft website.
This, however, seems not to work, as I don't have access to the mentioned file afxcoll.h. Indeed: there is no file, called afx*.h on my PC.
Is this a limitation of my free downloaded Visual Studio installation, or is there any add-in, add-on, extension or whatever I can install in order to work with CMapStringToString objects?
Thanks in advance
You need to explicitly install MFC support in Visual Studio - which you can do on Community editions:
Open Visual Studio Installer from your Start Menu
Click the Modify button
Select the Individual Components tab
Scroll down to SDKs, Libraries and frameworks
Check the various MFC/ATL options for various platforms

TFS Windows Explorer Integration - Getting version history outside of VS

I worked for year using CVS source control with Windows Explorer integration using TortoiseCVS which enabled me to view the history of my files in a graphical way and allow me to compare any 2 versions of the file without the need to open IDEs.
Lately I started working in a new place that uses TFS which require me to open Visual Studio every time I want to see the file history.
It would be great to have this level of integration between TFS and Windows Explorer. I wonder if any third party has developed such functionality?
Currently I use C# with Visual Studio 2013.
This is what I see when I choose Revision Graph:
Shell integration can be installed as part of the Visual Studio Power Tools for Team Foundation Server 2013. Make sure you check the "Windows Shell Extensions" option.
To see the revision graph, I am afraid you still need to open Visual Studio and use the Track Changeset feature which seems the closest as far as I can tell.
That and the "Incoming Changes" codelens that was added to Visual Studio 2013 Ultimate and which is going to be part of Visual Studio 2015 Professional and up.

Uninstall Visual Studio 2010 while keeping 2012

I'd like to make some room on my drive, and to uninstall Visual Studio 2010.
I don't use it anymore because I have the 2012, and I'd obviously like to keep using 2012, that is, is it safe to completely delete an older version of VS?
Will my 2012 continue to work straight after this uninstall?
From the docs
If you uninstall a version of Visual Studio on a computer that has
more than one version installed, the file associations for Visual
Studio are removed for all versions. You can remap these file
associations by using the Restore File Associations button on the
Environment, General page of the Options dialog box
Other than this maybe nothing changes, but its for you to find out. Of all the softwares Im generally happy with the install/uninstall system of VS, because of its predictability and documentation.

UnInstall Visual Studio 2010

I want to uninstall Visual Studio 2010 because the installation is corrupt, but impossible to do so.
When I try to uninstall with the control panel, it got stuck at the beginning (I found on the web that I am not the only one).
So I tried to use Visual Studio 2010 Uninstall Utility, but it got stuck too!!
I am completely out of ideas and I am in a hurry, can you help?
Thanks in advance.
Eric
Visual Studio 2010 Uninstall Utility by Microsoft, this can be downloaded from here:
Download link
This handy little tool did not only runs successfully, but it completely removes and uninstalls Visual Studio 2010 and all it's installed modules.
The Visual Studio 2010 Uninstall Utility can be ran in 3 different modes:
Default (VS2010_Uninstall-RTM.ENU.exe)
Uninstalls all top level products of 2010 release and its supporting components. This mode does not remove Visual Studio components shared with previous product releases (e.g. Visual Studio 2008) or system level updates such as Microsoft .NET Framework 4.0.
Full (VS2010_Uninstall-RTM.ENU.exe /full)
Removes Visual Studio 2010 and supporting products, including components shared with previous versions of Visual Studio. Note: may break features of previous versions of Visual Studio installed on the machine. This option does not remove Microsoft .NET Framework 4.0 from the machine.
Complete (VS2010_Uninstall-RTM.ENU.exe /full /netfx)
Removes entire set of Visual Studio 2010 and supporting products, including Microsoft .NET Framework 4.0 and components shared with previous versions of Visual Studio. Note: may break features of previous versions of Visual Studio or other products taking dependency on Microsoft .NET Framework 4.0.
More information can be found here:
I once had such a problem and struggled a lot before being able to uninstall it. I wrote the following PowerShell script for doing so:
# Be careful with that axe, Eugene.
Get-ChildItem HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall |
select #{Name='Guid';Expression={$_.PSChildName}}, #{Name='Disp';Expression={($_.GetValue("DisplayName"))}} |
where-object {$_.Disp -ilike "*Studio*"} |
where-object {$_.Guid -like '{*'} |
% {"rem " + $_.Disp; '$Env:WinDir\system32\msiexec.exe /x "' + $_.Guid + '" /passive'; ''} > uninstallVS.bat
This generates a .bat file that you can run to uninstall the thing.
No need to say that this is an absolute last resort / desperate measure. Don't use it if your life is not threatened.
I ran into this problem today and discovered the the removal tool does NOT remove SP1, you should remove SP1 through Add/Remove programs in the control panel and then use the tool.
You can try this if it is allowed in your control panel/Uninstall programs.
Click the Visual Studio version you want to remove.At the top of installed programs, you will Organize and Change links.Click Change.This should lead you uninstall the visual studio you selected.
Another option is to run
wmic product where "name like 'microsoft visual studio%'" call uninstall /nointeractive
In your command promp.Be sure to run command prompt as administrator.You should be very careful for this.

How do I see the list of addins and plugins in Visual Studio?

I think I have a plugin or addin to studio installed which has killed all versions of studio.
Where can I see the list of plugins and addins that studio is loading? I believe I have gone through all of the menu to find the list of addins.
Would someone point me in the direction that shows me the list of addins? I will remove them all one by one until I find the one that is "killing my productivity" for the day. :)
They appear in three difference places, but any given addin/package doesn't necessarily appear in in all those places:
The splash screen
Tools / Add-in manager
Help / About (in the "Installed products" list)
In Visual Studio 2013, go to the "Tools" menu and open "Extensions and Updates".
In "Installed"->"All" section you can see it all.
Try looking at your packages installed for Visual Studio. They are registered in the registry under:
Visual Studio 2008
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0Exp\Packages
Visual Studio 2005
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0Exp
Packages are the complete installs of all addins, automations, and alike.
If you have a lot, I say kill them all. And then reinstall your specific addons (such as CodeSmith or VisualSVN). You may need to clean up the addons that were manually added. But, I think that once you remove the "Package", it disables those addons and automation tools automatically.
For reference, this is my fresh new install of Visual Studio 2008 SP1 on Windows 7 RTM. Only 1 plugin, and it's for SQL Server's SSIS:
registery http://eduncan911.com/blog/thumbnail/billrob-stackoverflow.png
Go to the Tools menu and open Add-in manager. Or you can go to the visual studio folder inside of My Documents and look in the addins folder.

Resources