Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have Visual Studio 2010 installed in my PC, but in this year, and for my job purposes, I downloaded the community versión of Visual Studio 2017.


At the beggining, both versions worked perfectly, I even loaded and modified some programs that I developed with VB 2010 in the VB 2017 environment, just for reuse several routines and functions in the system I was developing with VB 2017.


Suddenly, the VS 2017 stopped working; as soon as I select the "Open Project" option in the "File" selector, the IDE restarts itself, everytime I do this. So I decided to uninstall it and I did it.


Now, the VB 2010 IDE cannot load a project indeed developed with this environment. It says "The project is not tarjeting the Net Framework 4.0". If I open an even older Project developd with VS 2005, it loads correctly.


I'd really appreciate any advice, hint or an indication where to search for an answer to solve this problem.

What I have tried:

I tried to install the 4.0 Framework, but I got an error message telling me my PC doesn´t need that versión because it has installed more recently versions.

I don't know where those versión come from; maybe when I installed VS 2017, but aren´t they suppose to dissapear when I uninstalled it ?

I´m thinking in uninstall VB 2010 and then install both again, but I´m afraid it can brings me more problems.

I need both versions in my PC.
Posted
Updated 19-Aug-18 6:22am
v3

1 solution

The newer versions of the .NET framework are automatically loaded and updated with VS 2017. If you are modifying a 2010 project in the 2017 version then you will not be able to go back to 2010 with that project. You should keep all projects of each version totally separate.
 
Share this answer
 
Comments
Miguel Altamirano Morales 19-Aug-18 11:50am    
Thank you very much for your answer, Richard; Now, what do you recommend me to get both versión VS 2010 and 2017 working again, should I uninstall my remaining 2010 versión and install both again ?
Or the VS 2010 projects are already damaged ?. I really need to recover those programs.
Richard MacCutchan 19-Aug-18 14:12pm    
I cannot recommend anything as it is far too difficult to guess what the actual problem is. You need to do some experimentation before going to a re-install.
Miguel Altamirano Morales 19-Aug-18 14:21pm    
Thank you Richard; I´m going to do some tests and a deeper search, and if I cannot get anywhere, I´ll uninstall my VS 2010, install it again and see if it recognizes my old programas; if not, I´ll install VS 2017 and convert them all.

If VS 2010 does recognize my programas, I'll download and install the VS 2017 again, and try not to mix them (my programs) anymore.

It seems the entire VS 2010 environment was damaged as a result of the uninstallation of the VS 2017; I already downloaded again my original backup of my programs and the problem remains.

Would you like to know how it went ?
Nelek 19-Aug-18 15:45pm    
You probably said yes when asking to remove components that are "possibly" being used by other programs.
Miguel Altamirano Morales 19-Aug-18 21:50pm    
Yeah, but where ?, when ?

If you mean I did that during the uninstallation of VS 2017 process, yes, it´s very likely I did that or made a mistake elsewhere. I just cannot remember if the process asked me that.

The point is I already installed again the Community VS 2017 versión and my problema was solved. I even used the same installers I downloaded several months ago.

Both VS 2010 and 2017 are working fine now, but a I only had to restore again the VB 2010 programs from my original backup.

Thank you very much for your attention, Nelek, you're so kind.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900