I have been using visual studio 2015 RC community for a little while now, and I found that I can get the full enterprise edition for free from my University. But, after I uninstalled the community edition from the control panel, I still see it in my start menu and it runs as if nothing happened. I saw when searching online, to use the cmd with /uninstall /force but I don't know which application to use it on in the C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE directory to use those on.
Please help me remove this IDE so I can reinstall it.
I know this question is old, but just in case...
To uninstall "Visual Studio 2015 Community" follow these instructions:
Search for vs_community.exe:
cmd (admin rights) -> cd C:\ProgramData\Package Cache\ -> dir /s vs_community.exe
This will provide you with the exact location of vs_community.exe
Uninstall:
cmd (admin rights) -> C:\ProgramData\Package Cache\{*CODE*} -> vs_community.exe /uninstall /force
More information:
https://blogs.msdn.microsoft.com/heaths/2015/07/17/removing-visual-studio-components-left-behind-after-an-uninstall/
NOTE: search vs_community.exe instead of vs_enterprise.exe/vs_ultimate.exe
I hope this can help.
I had the same problem to solve it I downloaded the latest (out of preview ) community visual studio edition and re ran the setup. Choose repair/modify it may solve the problem.
I will recommend you to use 2013 edition as 2015 still feels incomplete and takes a lot of time perform small operation. Intellisense takes a lot of time to initialize and at so many instance it feels unstable.
From the documentation:
Uninstall Visual Studio
https://msdn.microsoft.com/en-us/library/mt720585.aspx
Alternatively, you can use the "Total Uninstaller" tool to remove
everything that Visual Studio or updates to Visual Studio might have
installed. That is, any version of Visual Studio 2013 or later. To
find out more, see the Visual Studio Uninstaller tool on GitHub.
VisualStudioUninstaller
https://github.com/Microsoft/VisualStudioUninstaller
Related
I am trying to uninstall Visual Studio Community 2015. It has been hanging on the Preparation step for at least 12 hours. (Left it going over night). I did not want to cancel since I thought it might just be running slowly but now I am thinking that it is stuck. I have also tried repairing and it does the same thing.
Thanks in advance
Chris
To completely uninstall the VS community 2015, you can have a look at this blog and try to forcibly uninstall through the command like vs_community.exe /uninstall /force. It can forcibly remove almost all components.
There also have a visual studio uninstaller tool to cleanup/scorch all Preview/RC/RTM releases of Visual Studio 2013, Visual Studio 2015 and Visual Studio vNext. You can download it from here.
If the uninstall still failed, you use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder then upload the file to https://onedrive.live.com/ and share the link here.
I installed a VS 2013 trial on my Windows 10 PC. Now the trial period has expired and I want to remove it. However I can not find it listed under Control Panel->Programs->Programs and Features!?
Search C:\ProgramData\Package Cache\ for vs_*.exe and you should see one or more bootstrap installers named for the version, E.g. vs_enterprise.exe, vs_community.exe
Run the executable with the /uninstall command line.
Alternatively run the original installer again in the hopes that it offers an uninstall option, if not reinstall it in the hopes it fixes the missing link.
You could use the Visual Studio Uninstaller. Its a tool developed by Microsoft and should get rid of the Visual Studio Instance.
I have a project written in PowerShell and I want to create an interface for it using Visual Studio 2012. How can I load the .ps1 file in Solution Explorer? I have already run through these steps:
http://nickmeldrum.com/blog/how-to-run-powershell-scripts-from-solution-explorer-in-visual-studio-2010
(the steps are for Visual Studio 2010 but I thought the settings shouldn't differ too much) but now I don't know what to do...I have to install some tools or something?Thank you!
You haven't specified what's the issue here. Steps from the linked article should work with Visual Studio 2012 without any adjustments as far as I see. Make sure that you followed those steps correctly.
BTW, you may want to install "PowerShell Tools for Visual Studio 2012" extension.
When I click on the home-icon of Team Explorer, I get the following error:
Page '312e8a59-2712-48a1-863e-0ef4e67961fc' not found instead of all the options.
I have this error since I reinstalled the Visual Studio 2012 Ultimate trial and installed the Visual Studio 2012 Premium edition. Repair and reinstall didn't work out.
To fix this, run this from the Visual Studio command prompt as administrator:
devenv /setup
It will not mess up your environment, and you can just continue to use Visual Studio afterwards was my experience.
I had the same error in Visual Studio 2013 and tried:
Control Panel → Programs .... → Visual Studio → Repair
It did not work
devenv /setup
It did not work
devenv /clearcache
devenv /updateconfiguration
It did not work
And then THE solution:
*Close all Visual Studio instances
Delete the %LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache folder
Start Visual Studio
It is explained in more detail in this blog post: When the EditorPackage does not load correctly
I had this error on Visual Studio 2013 Ultimate - Windows 8:
And I solved this problem running this command:
X64: devenv.exe /resetskippkgs
x86: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe /resetskippkgs
I faced similar issue. Running devenv /setup did not help me.
Just wanted to share some additional info:
At first, devenv /setup did not help me as well. Then I realized that I was using the wrong Visual Studio command prompt version.
Make sure that you run devenv /setup for the appropriate Visual Studio version.
For example: for Visual Studio 2013, use the "Developer Command Prompt" under the Visual studio 2013 "Visual Studio Tools" folder.
*And like it stated in the selected answer, run as administrator.
I ran the suggested command: devenv /setup. It didn´t work for me. (Visual Studio 2015)
Then after that I tried something different:
-> Run Visual studio as administrator, after ran the command.
Then the problem was solved.
Running Visual Studio as administrator resolves this for me.
After I reinstalled my Visual Studio 2012 Trial, I've never deleted the documents directory. In this directory there were some backup files. This maybe have caused the problem.
After deleting this directory and installing Visual Studio 2012 Premium again the problem was solved.
I faced a similar issue. Running devenv /setup did not help me.
I found Fixing 312e8a59-2712-48a1-863e-0ef4e67961fc-not-found-vs-2012. This link suggests that I might have recently installed some Visual Studio extensions, which might have corrupted the Visual Studio maintained cache. I uninstalled a couple of the latest Visual Studio extensions, and it solved the issue after Visual Studio's restart. Visual Studio is able to connect with TFS :-).
One can find Visual Studio extensions at menu Tools → *"Extensions and Updates...". Go to the "All" section under Installed section. It will show all Visual Studio extensions.
I had a similar error, and then I tried running "devenv /setup" and no good result. That's was because you don't not trying with specific version Visual Studio command prompt. I then opened the command prompt for the specific version "Visual Studio 2013", and the problem was solved.
I had the same exact issue in Visual Studio 2013. I renamed ComponentModelCache to ComponentModelCache2, and it fixed it.
C:\Users\{..}\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache
I have been using Visual Studio for a while and found that when I open visual studio and open the project all the files that were open last time remain open.
This causes my Visual Studio to freeze or crash on startup.
I am using a lot of plugins in my installation and wonder if there is a way to prevent this from happening.
Have you tried resetting user settings? It did help me:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /ResetUserData
Run: Devenv /ResetSkipPkgs
http://msdn.microsoft.com/en-us/library/ms241276%28VS.80%29.aspx
or
You are probably looking for the /SafeMode command line switch:
devenv.exe /SafeMode
This will start Visual Studio with all add-ins disabled.
You can change your Visual Studio 2010 start up settings.
Tools --> Options --> Startup --> At startup --> Show empty environment --> Save
Visual Studio has a plugins limit. Use only plugins that best for you. There is a list for best Visual Studio 2010 plugins for developers.
Visual Studio 2010 - recommended extensions
devenv.exe /ResetSettings
or
devenv.exe /ResetSetting
Worked fine for me
I had the same issue with Community 2015 version. I solved it with Vidas Vasiliauskas suggestion, which was to erase user settings.
The thing is that I previously had enterprise 2015 version, in which I was logged in with my Microsoft account. When trying to open community version, it tried to do so with that same account, which I believe was the cause of the issue.
Therefore, I would suggest to those with the same problem to run the following command at Command Line Prompt:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /ResetUserData
In my case, VS 2013 Professional was hanging on startup because the license was no longer valid.
Last item in the log file:
<entry>
<record>367</record>
<time>2015/07/13 20:11:05.051</time>
<type>Information</type>
<source>UserConnection</source>
<description>myemailaddrs#gmail.com signed in for IDE user</description>
</entry>
And on the msdn.microsoft.com subscription page: "Your subscription is no longer active, contact your administrator."
I had to get an updated subscription from my employer.
When it hangs on the splash screen:
It could be that an anti-virus solution is blocking Visual Studio.
Kaspersky Internet Security 16.0.1.445 makes Visual Studio 2015 hang on the splash screen. The older version 16.0.0.614 works fine.
Clear the tag's elements in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config
Also do the same with C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
The tag should just be <runtime/>
If your Visual Studio 2019 is stuck due to a faulty extensions, here is a way to get it back to normal.
First, start Visual Studio in safe mode (devenv.exe /SafeMode) and uninstall the troublemaker.
Hereafter, if Visual Studio 2019 is still unresponsive, you need to do the following:
Browse to %LOCALAPPDATA% and go to Microsoft -> VisualStudio -> 16.0_bb6da863 (or whatever version you have installed)
Delete the following folders (all cache related):
ComponentModelCache
ImageLibrary
MFECacheBackup
Extensions\*.cache
For reference:
Hope it helps you and safe a VS repair/reinstall.
Happy coding :-)
I was having this issue when using the Git source-control plugin.
I ran devenv.exe /SafeMode
And then in Options -> Source Control -> Plug-in Selection made sure "None" or "Visual Studio Team Foundation Server" was selected. After that, VS started normally.
Check Task Manager. I had a Setup.exe running (not sure what it was installing), but once I killed it, VS unfroze.
I have got recently VS2017 stucked on start up . so I did this and worked for me :
1 - start cmd as admin : run the following:
cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE"
devenv.exe /SafeMode
2- once VS is started , go to
Tools => Extentions and Updates :
then uninstall all plug-ins that installed recently ( notice the installed date ) and unnecessary ones)
This helped me: I deleted all SDK, JDK & JRE folders that had been rooted in VS settings before. After that I used devenv.exe /ResetUserData and devenv.exe /ResetSettings.
Worked for me on Visual Studio 2015.
This is becuase of rendering IDE UI try this hope it will resolve
1- Open "Visual Studio"
2- Select "Options" from the top menu
3- Navigate to "Environment => General"
4- Unchecked "Optimize rendering for screens with different pixel densities"
5- Restart visual studio