Clear visual studio 2013 "Document well" - visual-studio-2013

I have a user control opened in design mode. When I try to close this tab, visual studio 2013 crashes. If I open the project again, the user control tab is still there, I can't ever close it.
So, were in hell does visual studio save this "opened documents" per project, so I can delete this entry?

Ok, It was simple. Delete the .suo file.

Related

Changes made to *.wpp.targets file reflect only after reopening Visual Studio

I have MyProject.Publish.wpp.targets file in the root of that project folder.
When I edit this file & publish the project, it doesn't take the new changes.
I have to reopen the Visual Studio and publish for the new changes to apply.
How to fix this.
Using Visual Studio 2019.
Drag the files / folders from Windows Explorer into the Solution Explorer. It will add them all. Note this doesn't work if Visual Studio is in Administrator Mode, because Windows Explorer is a User Mode process.

How to open visual studio without administrator rights

When i open visual studio 2010 it is automatically running with administrator.
Let me know how can i open visual studio without administrator rights.
Any ideas on how to fix this?
This solution should only be used if Flabetvibes solution does not work.
Navigate to the Visual Studio install folder (commonly C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\)
Right-click devenv.exe > Properties
Go to the Security tab and click Advanced button.
Click on Change right beside the owner (the current owner may be "Administrators").
Enter your Windows user name into the text area and click Check Names.
If found, click OK and Apply etc.
Visual Studio should now start in normal mode (without "Administrator").
This has to be repeated every time a new update is installed.
I supposed you are running Visual Studio 2010 under a Windows system, then the solution might be:
Right click on the Visual Studio icon
Choose Properties
Select the Compatibility tab
Unchecked Run this program as an administrator inside the Privilege Level group box
Hope this idea is useful.

How do you remove/uninstall Add-Ins for Visual Studio if they are broken?

I had EntitySpaces Add-in for Visual Studio (all versions) installed. Upon uninstalling it, when you start up any version of Visual Studio, you get the message "could not rename add-in file". How do you get rid of this or stop Visual Studio from trying to load the Add-In?
It appears this can be a common problem when applications that install Add-Ins or just Add-Ins on their own, don't uninstall properly or just plain break.
For Visual Studio 2015 you have to:
Click on Tool -> Extensions and Updates.
Be sure that Installed option is selected in left part of the window.
Find your addin, select it and click on Uninstall button.
Restart Visual Studio.
There are a few helpful articles which may be useful for your particular Add-In:
http://www.mztools.com/articles/2006/mz2006018.aspx
First of all I tried this (which may work for you) How to: Deactivate and Remove an Add-In.
Note if you don't know the Namespace or ClassName of the addin, you can find it in the .addin file under FullClassName:
To remove an add-in from the integrated development environment (IDE)
Delete the .addin XML registration file for the add-in that you want
to remove. The default location is ..\Users\username\ Documents\Visual
Studio 2010\Addins\
At a Visual Studio command prompt, type devenv
/resetaddin Namespace.ClassName, where Namespace is the name of your
add-in project and Classname is its class name, for example, devenv
/resetaddin MyAddin1.Connect
For me this, although not my exact problem, lead to my resolution, which was simply to run Visual Studio as administrator. Doing this for just one version of Visual Studio solved my problem in that the error message no longer appeared (probably because it was then able to successfully rename as per the original error message).
In Visual Studio 2019, Click on Extensions tab. Then click on Manage Extensions. In the window that opens,select Installed in the left pane. After that search for the Add-in you want to remove. In the results displayed, select the Add-in the hit UNINSTALL. Restart Visual Studio for the process to be completed. The process seems to work for any Add-in.

How to bring back a deleted tab in visual studio 2010

I accidentally deleted data tab in visual studio 2010 design mode. How can i bring it back??
You can retrieve any window under the View tab in VS, you're probably looking for the Solution Explorer
EDIT:
Right-click in your toolbox and select Show all or Reset toolbox

Visual Studio 2010 crashes when solution is opened

We are using a third-party component that crashes Visual Studio 2010 when it is viewed on a designer. This in itself was not a deal breaker, as we wrote the layout code by hand.
However, last time the designer of this component was viewed by accident and Visual Studio crashed, the [Design] file was saved as open, and now whenever VS is launched and the project opened, the designer is opened by default and then Visual Studio crashes.
I have deleted all *.suo and *.user files, but somehow Visual Studio still remembers which files were open last, making it impossible to open the solution.
Comment out the code in the designer file, open the solution, the uncomment it.
First, make a backup of the file (if you don't already have one in source control), in case the designer regenerates it.

Resources