更改VS2005 C#项目以使用mscorlib 1.1 [英] Change VS2005 C# project to use mscorlib 1.1

查看:46
本文介绍了更改VS2005 C#项目以使用mscorlib 1.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将项目从VS2003移动到VS2005,现在所有参考都指向

..NET2.0 libs。如何将其更改回1.1,但仍然使用VS2005?


出于兼容性原因我需要这个。


谢谢

doc

I have moved a project from VS2003 to VS2005 and now all references point to
..NET2.0 libs. How can I change this back to 1.1, but still use VS2005?

I need this for compatibility reasons.

thanks
doc

推荐答案




docschnipp写道:
Hi,

docschnipp wrote:

我已将项目从VS2003移动到VS2005,现在所有引用都指向

.NET2.0库。如何将其更改回1.1,但仍然使用VS2005?


出于兼容性原因我需要这个。


谢谢

doc
I have moved a project from VS2003 to VS2005 and now all references point to
.NET2.0 libs. How can I change this back to 1.1, but still use VS2005?

I need this for compatibility reasons.

thanks
doc



我知道使用Visual Studio 2005并且仍然编译1.1代码的唯一方法

是使用MsBee
http:// www.gotdotnet.com/codegallery...a-9b8d00970371


但是,我自己从未尝试过。既然你可以在同一台PC上同时安装这两个工作室,我认为你更容易坚持适用于你正在使用的.NET版本的开发环境

环境。


HTH,

Laurent

-

Laurent Bugnion,GalaSoft

软件工程: http://www.galasoft-LB.ch

PhotoAlbum: http://www.galasoft-LB。 ch /图片

支持加尔各答的儿童: http: //www.calcutta-espoir.ch

The only way I know to use Visual Studio 2005 and still compile 1.1 code
is to use MsBee
http://www.gotdotnet.com/codegallery...a-9b8d00970371

However, I never tried it myself. Since you can install both Studios on
a same PC, I think it''s easier to stick to the adapted development
environment for the .NET version you''re using.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch


Hi Doc,


是的,Laurent是对的。我之前已经咨询过CLR团队这个问题,他们确认在VS2005中没有以原生方式定位之前的

框架。告诉VS2005使用.Net1.1的唯一解决方案

框架正在使用MSBee。


MSBee是MSBuild系统的附加组件,用于更改框架

有针对性。所以,你实际上正在使用VS2003版本的编译器使用VS2005版本的MSBuild使用

构建v1.1框架

(排序)。您可以在IDE中编写代码,但必须使用cmd行来构建建筑物,因此它看起来不是无缝集成。您可以

参考我之前的支持主题以获取更多信息(照顾分行的
):
http://groups.google.com/group/micro...es。 csharp /眉毛

se_frm / thread / 5b2c5dfd6bf24aa2 / 380ffd947bd72531?lnk = st& q = VS2005 + MsBee +%22Jef

frey + Tan%22& rnum = 1& hl = zh-CN#380ffd947bd72531

如果你想为你的项目使用.Net1.1,你最好总是使用

VS .net2003打开你的项目而不将其转换为VS2005。这将是

让项目与.Net1.1一起工作。


希望这会有所帮助。


祝你好运,

Jeffrey Tan

微软在线社区支持

=================== ===============================

通过电子邮件收到我的帖子通知?请参阅
http://msdn.microsoft .com / subscripti ... ult.aspx#notif

ications。


注意:MSDN托管新闻组支持服务是针对非紧急问题

如果社区或微软支持人员在1个工作日内做出初步回复是可以接受的。请注意,每个跟随

的响应可能需要大约2个工作日作为支持

专业人士与您合作可能需要进一步调查才能达到

最有效的分辨率。该产品不适用于需要紧急,实时或基于电话的交互或复杂的b $ b项目分析和转储分析问题的情况。这种性质的问题最好通过联系

Microsoft客户支持服务(CSS)处理
href =http://msdn.microsoft.com/subscriptions/support/default.aspx\"target =_ blank> http://msdn.microsoft.com/subscripti...t/default.aspx

======================================== ==========

此帖子按原样提供。没有保证,也没有授予任何权利。

Hi Doc,

Yes, Laurent is correct. I have consulted the CLR team before for this
question, they confirmed that there is no native way to target prior
frameworks in VS2005. The only solution to tell VS2005 to use .Net1.1
Framework is using MSBee.

MSBee is an add-on to the MSBuild system that changes the framework
targeted. So, you are actually building against the v1.1 framework using
the VS2003 version of the compilers using the VS2005 version of MSBuild
(sort of). You can write your code in the IDE but must use the cmd line to
do the building, so it doesn''t appear to be a seamless integration. You may
refer to my previous support thread below for more information(take care of
the line-break):
http://groups.google.com/group/micro...es.csharp/brow
se_frm/thread/5b2c5dfd6bf24aa2/380ffd947bd72531?lnk=st&q=VS2005+MsBee+%22Jef
frey+Tan%22&rnum=1&hl=zh-CN#380ffd947bd72531

If you wanted to use .Net1.1 for your project, you''d better always use
VS.net2003 to open your project without converting it to VS2005. This will
leave the project working with .Net1.1.

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


你好,Jeffrey,Laurent,


"" Jeffrey谈[MSFT] QUOT;"写道:
Hi Jeffrey, Laurent,

""Jeffrey Tan[MSFT]"" wrote:

嗨Doc,


是的,Laurent是正确的。我之前已经咨询过CLR团队这个问题,他们确认在VS2005中没有以原生方式定位之前的

框架。告诉VS2005使用.Net1.1的唯一解决方案

框架正在使用MSBee。


MSBee是MSBuild系统的附加组件,用于更改框架

有针对性。所以,你实际上正在使用VS2003版本的编译器使用VS2005版本的MSBuild使用

构建v1.1框架

(排序)。您可以在IDE中编写代码,但必须使用cmd行来构建建筑物,因此它看起来不是无缝集成。
Hi Doc,

Yes, Laurent is correct. I have consulted the CLR team before for this
question, they confirmed that there is no native way to target prior
frameworks in VS2005. The only solution to tell VS2005 to use .Net1.1
Framework is using MSBee.

MSBee is an add-on to the MSBuild system that changes the framework
targeted. So, you are actually building against the v1.1 framework using
the VS2003 version of the compilers using the VS2005 version of MSBuild
(sort of). You can write your code in the IDE but must use the cmd line to
do the building, so it doesn''t appear to be a seamless integration.



使用cmd对我来说没问题,无论如何我想使用一种构建服务器。

我真的很想念VS2005 IDE具有所有不错的功能。

Using cmd is okay for me, I''d like to use a kind of build server anyway.
I would really miss the VS2005 IDE with all its nice features.


如果你想为你的项目使用.Net1.1,你最好总是使用

VS.net2003打开你的项目而不将其转换为VS2005。这将

让项目与.Net1.1一起使用。
If you wanted to use .Net1.1 for your project, you''d better always use
VS.net2003 to open your project without converting it to VS2005. This will
leave the project working with .Net1.1.



我可以设置它,只是引用相同的cs文件,应该这样做吗?


best

doc

I can set it up and just refer to the same cs files, that should do?

best
doc


这篇关于更改VS2005 C#项目以使用mscorlib 1.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆