Error MSB8020 appeared after uninstalling unused old VS installation - visual-studio

I had Visual studio 2008 installed and working.
I then installed VS 2010 and it worked fine.
I then installed VS Community 2015 and it worked fine.
I then uninstalled VS 2008. I had a hunch that it could cause trouble so I checked that VS Community 2015 still worked - it did.
I then uninstalled VS 2010 and checked that VS Community 2015 still worked - it didn't. When compiling a previously working Community 2015 project I got this:
error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found.
I don't understand why VS 2015 would even be using any parts of VS 2010. Anyway, I'd like to know the most robust way of repairing the situation.

It seems that installing VS Community 2015 does not by default mean that all the tools used are the latest versions. So when I unisnstalled VS2010 I zapped some of my tools. By selecting "Project" then "retarget solution" I could then update the tools used.

Related

Is it ok to install visual studio 2008 over visual studio 2015?

My system is having VS 2015 and windows 7 Enterprise.
I have some solution file, which was created in vs 2008.
After opening in vs 2008, there are some upgraded log from vs 2015.
a lot of errors needs to be resolved to make build successed.
Is it ok to install visual studio 2008 over visual studio 2015 ?
this link Can I install two different versions of Visual Studio on the same computer? does not tell if it is ok to install lower version over higher version.
It's possible, but with a bit of risk that some features of the newer VS will break. I have no experience with these two combined, but in the past things got broken for me after installing vs2005 after vs2008 or vs2010. A re-install of the newer version would be needed if this happens.
Generally, it is ok. You can have many different visual studios installed on your machine.

Is there any reason to keep Visual Studio 2013 installed after installing Visual Studio 2015?

Is there any reason to keep Visual Studio 2013 installed after installing Visual Studio 2015? If I'm collaborating with someone using VS2013, are there any known problems if I use VS2015?
I don't see any reason to keep VS 2013. VS 2015 opens the same projects without problem.
I worked on the same project from 2 computers, one had VS 2013, other 2015 and didn't have any problem.

UnityVS (Visual Studio Tools for Unity 1.9) + Visual Studio Ultimate 2013 Compatibility Issue?

I have installed the recently released Visual Studio Tools for Unity 1.9 on my computer with a copy of Visual Studio Ultimate 2013 and am encountering a problem which I can't seem to fix. After creating a new Unity project, importing the VSTU package, and creating a script and opening it, I see a message within the VS 2013 Solution Explorer stating that:
"This project is incompatible with this version of Visual Studio"
However, I have read on the UnityVS site and nothing indicates that it is incompatible with VS 2013. Are there any possible solutions to this problem? Thanks.
This is an old question now, but I ran into the same problem recently with a brand new install of Unity 4.6.1, VS Professional 2013 and VSTU 2013.
A re-install of VSTU fixed the problem.

Is it safe to uninstall VS Express after installing VS Ultimate?

A couple of days ago, I installed Visual Studio Express for C#; yesterday I installed Visual Studio Ultimate. Since I will no longer use the former, is it safe to uninstall it?
I uninstalled Visual Studio Express 2012 for Web right after having installed Visual Studio 2012 Ultimate and it still works perfectly. Also tried after a reboot, just to be sure.

Sharepoint 2010 Projects not showing in Visual Studio 2010

I have installed sharepoint 2010 and the sdk, yet I cannot see / open sharepoint projects in Visual Studio. When I go to new >> Project, sharepoint is not anywhere in the options.
If I try and open an event receiver project, I get this project type is not supported in this installation.
I have tried reinstalling the Sharepoint 2010 SDK, and repairing VS 2010 Premium.
Does anyone have any ideas on what I need to do to get this to work?
I'm running VS 2010 Professional and when I ran VS 2010 SP1 it crashed during installation. After that I got the same error message when I opened a solution containing Sharepoint 2010 projects. I tried the following but it didn't solve it:
- Running VS 2010 repair
- Reinstalling VS2010 SP1
- Reinstalling .Net framework 4.0
Same error...
Finally I ran VS2010 setup, 'add remove features', and noticed that the 'Sharepoint Developer Tools' was not included anymore. I added it and now it works!
This was resolved by uninstalling and reinstalling VS 2010 premium. Go Figure!

Resources