I have Visual Studio 2010 installed. But I try to open a project in it, I cannot find .net Framework 4.0 or .net Framework 4.5 in the target framework. I have installed both. still I cannot find it. What am I suppose to do? Uninstalling Visual Studio is not an option for me.
Asked
Active
Viewed 2,334 times
1
-
1You are missing the targeting packs. c:\program files (x86)\reference assemblies directory. Impossible to guess how that could have happened of course, a VS install that is missing essential files is never a very good sign. – Hans Passant Feb 11 '15 at 11:27
-
I looked there. I also can't figure it out how it happened./ – odbhut.shei.chhele Feb 11 '15 at 11:30
2 Answers
1
Mayby you can install them using the tool menu in your visual studio. Tools>extentions and update. then search there for the 4.0 or 4.5 framwork versions
my bad the saluting is mentioned here https://stackoverflow.com/questions/12390175/… it seems to be a bit more difecult in vs2010

Community
- 1
- 1

Ivan Sander de Jong
- 835
- 1
- 11
- 28
-
-
1http://stackoverflow.com/questions/12390175/targeting-net-framework-4-5-via-visual-studio-2010 it seems to be a bit more difecult in vs2010 – Ivan Sander de Jong Feb 11 '15 at 08:38
1
Have you tried: "installing VS for Windows (not desktop!) u3"
I think with this your folder may appear and your original VS can start use them aswell as the new one

Luca
- 1,766
- 3
- 27
- 38