Can you force Visual Studio to always run as an Administrator in Windows 8?

In Windows 8, Windows 10, and Windows 11, you have to right-click devenv.exe and select “Troubleshoot compatibility”. Select “Troubleshoot program” Check “The program requires additional permissions” Click “Next” Click “Test the program…” Wait for the program to launch Click “Next” Select “Yes, save these settings for this program” Click “Close” If, when you open Visual … Read more

Error message “No exports were found that match the constraint contract name”

I solved this problem by clearing Visual Studio Component Model Cache. Just delete or rename this folder: %LocalAppData%\Microsoft\VisualStudio\11.0\ComponentModelCache or %LocalAppData%\Microsoft\VPDExpress\11.0\ComponentModelCache and restart Visual Studio. The version of Visual Studio you have is specified by the number e.g. Visual Studio 2012 is 11.0 (as shown above) Visual Studio 2013 is 12.0 Visual Studio 2015 is 14.0 … Read more

Difference between Build Solution, Rebuild Solution, and Clean Solution in Visual Studio?

Build solution will perform an incremental build: if it doesn’t think it needs to rebuild a project, it won’t. It may also use partially-built bits of the project if they haven’t changed (I don’t know how far it takes this) Rebuild solution will clean and then build the solution from scratch, ignoring anything it’s done … Read more

Using Git with Visual Studio [closed]

In Jan 2013, Microsoft announced that they are adding full Git support into all their ALM products. They have published a plugin for Visual Studio 2012 that adds Git source control integration. Alternatively, there is a project called Git Extensions that includes add-ins for Visual Studio 2005, 2008, 2010 and 2012, as well as Windows … Read more

tech