Can Visual Studio 2012 be installed side-by-side w

2019-01-07 07:10发布

Will Visual Studio 2012 interfere/break .NET 4 and/or Visual Studio 2010 if installed side-by-side on the same instance of Windows?

15条回答
兄弟一词,经得起流年.
2楼-- · 2019-01-07 07:38

Yes you can, but its always recommended to install earlier versions first. And if you want to open the Visual Studio 2010 project in VS 11, and then later back again, make sure you don't use Visual Studio 11 new features

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2019-01-07 07:39

It works well on 32-bit machine installing side by side but sometime you can get error but reinstalling or uninstalling previous installation it can be installed. I did it during middle of the project and it do not effect previous work also.

查看更多
4楼-- · 2019-01-07 07:40

My main problem has been that one can no longer run unit tests from VS2010 after installing VS2012 RTM! It just hangs forever. Cannot even stop it.

So for now I would say, MS did it again, side-by-side does not work.

I think this may be due to this being a VS2010 installation without SP1 applied.

查看更多
时光不老,我们不散
5楼-- · 2019-01-07 07:41

I installed the RC yesterday, and found the following:

It causes VS2010 to freeze when running unit tests (this can be worked around by using 2012, or mstest on the command line to run your unit tests)

It causes VS2010 not to be able to compile C++ projects, failing with a link error. Even after uninstalling VS2012 RC, this problem still persists... so I'd advise strongly against installing it right now

查看更多
女痞
6楼-- · 2019-01-07 07:41

So reading all answers, it comes down to this:

  • After installing VS2012, .NET 4.5 will overwrite .NET 4.0.
  • You can still use VS2010, but it will compile against .NET 4.5 (since .NET 4.0 is replaced).
  • Danger: You can no longer safely deploy your projects on machines that run .NET 4.0.
查看更多
趁早两清
7楼-- · 2019-01-07 07:42

I've noticed that Web & Loadtesting solutions appear broken after VS2012 install. Have taken copies and upgraded to 2012 and they work fine. It's just VS2010 can no longer initiate a test run.

查看更多
登录 后发表回答