简体   繁体   English

VS.NET 2003和VS.NET 2008共存

[英]VS.NET 2003 and VS.NET 2008 co-existence

I was in the process of converting a VS2003 project (.NET 1.1) to VS2008 (.NET 2.0) and had converted all the C# (easy enough). 我正在将VS2003项目(.NET 1.1)转换为VS2008(.NET 2.0)的过程中,并且已经转换了所有C#(足够容易)。 I got a new machine and did the C# conversion on VS2008. 我有一台新机器,并在VS2008上进行了C#转换。 We had a C++ layer that wasn't working under .NET 2.0 because of some memory protection issues. 由于某些内存保护问题,我们有一个在.NET 2.0下无法工作的C ++层。

The C++ layer was pretty old and was written by some sub-contractors years ago - its not great code... C ++层很旧,是几年前由一些分包商编写的-它的代码不是很好...

My old machine had an install of VS 2003 with our C/C++ layer (that talked to Visibroker) I hadn't finished converting the C parts when the hard disk on that machine crashed. 我的旧计算机安装了带有C / C ++层的VS 2003(与Visibroker进行了交谈),当该计算机上的硬盘崩溃时,我还没有完成C部分的转换。

I haven't got time to fix the .NET 2.0 conversion of the C++ bit so still need to build under VS 2003. 我没有时间修复C ++位的.NET 2.0转换,因此仍然需要在VS 2003下进行构建。

Question is: Can I install VS 2003 after VS2008? 问题是:VS2008 之后可以安装VS 2003吗? Will it mess things up? 它会把事情搞砸吗? Installing it in a VM isn't an option because of company policy. 由于公司政策,不能将其安装在VM中。

thanks 谢谢

I was in the same situation some time ago and installed VS 2003 on a (virtual) PC that had VS 2008 already installed. 不久前我处于相同的情况,并在已安装VS 2008的(虚拟)PC上安装了VS 2003。 Unfortunately I don't remember whether I had done a "Repair" of the VS 2008 installation after installing VS 2003, but I think it just worked. 不幸的是,我不记得在安装VS 2003之后是否对VS 2008安装进行过“修复”,但是我认为它可以正常工作。

I just had to do this last week. 我上周只需要这样做。 Installing 2003 after 2008 works just fine. 在2008年之后安装2003可以正常工作。 The only thing that seems to have been messed up is that now all of the VS icons look like the old 2003 ones in Windows. 唯一似乎被弄糟的是,现在所有VS图标看上去都像Windows中的2003年旧图标。

I've run vs2003 and vs2008 simultaneously. 我同时运行vs2003和vs2008。 I believe the worst case scenario for installing 2003 after 2008 would be needing to reinstall 2008. 我认为在2008年之后安装2003的最坏情况是需要重新安装2008。

I would go ahead and try, but I wouldn't start unless I had most of a day to do it. 我会继续尝试,但是除非有大部分时间要做,否则我不会开始。

Installing vs.net 2003 after 2008 will be fine, the only problem is, the vs.net version auto-checker may not work. 在2008年之后安装vs.net 2003会很好,唯一的问题是vs.net版本自动检查器可能无法工作。 For example, if u install 2008 after 2003, and right version of vs.net will be opened if you double click on a project file or solution file, according it's actual version. 例如,如果您在2003年之后安装2008,并且双击项目文件或解决方案文件(根据其实际版本),则会打开vs.net的正确版本。 But if it's reversed, the .net 2003 version checker will override 2008, and it won't be able to open vs.net2008 if you double click on a older version project file. 但是,如果反向,则.net 2003版本检查器将覆盖2008,如果双击较旧版本的项目文件,它将无法打开vs.net2008。 Simply reinstall 2008 will fix the issue. 只需重新安装2008就可以解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM