在VS 2003中使用Framework v1.0进行项目? [英] Doing projects with Framework v1.0 in VS 2003?

查看:95
本文介绍了在VS 2003中使用Framework v1.0进行项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有Visual Studio 2003,但我想用Framework 1.0.3705做一个VB .NET项目。这可能吗?

我创建了一个Hallo world应用程序,并将引用路径更改为C:\ WINNT \ Microsoft.NET.NET \ Framework \v1.0.3705。所有引用都从v 1.1更改为v 1.0。当我尝试编译时,我得到了一个按钮的错误:类型的值''System.Drawing.Point''无法转换为''System.Drawing.Point''。如果我创建一个更大的应用程序,我会遇到更多问题吗?

问候

/ Niklas

Hi
I have Visual Studio 2003 but I want to do a VB .NET project with Framework 1.0.3705. Is this possible?
I created a Hallo world application and changed the Reference Path to C:\WINNT\Microsoft.NET\Framework\v1.0.3705. All references changed to v 1.0 from v 1.1. When I tried to compile i got this error for a button: "Value of type ''System.Drawing.Point'' cannot be converted to ''System.Drawing.Point''." Am I going to have a lot more problems if I create a bigger application?
Regards
/Niklas

推荐答案

VS 2003有一个what-framework-to-use开关,隐藏在项目中 -

属性 - 公共属性 - 构建部分。我必须承认我从来没有使用它,但是我总是认为它可以做你想要的东西而没有太多的东西...

你试过吗?


Niki


" Niklas" <镍**** @ discussions.microsoft.com>写道:

news:84 ********************************** @ microsof t .com ...
VS 2003 has a "what-framework-to-use" switch, hidden in the Project -
Properties - Common Properties - Build section. I must admit I never used
it, but I always assumed it does what you want to have without much ado...
Did you try that?

Niki

"Niklas" <Ni****@discussions.microsoft.com> wrote in
news:84**********************************@microsof t.com...

我有Visual Studio 2003,但我想用
Framework 1.0.3705做一个VB .NET项目。这可能吗?我创建了一个Hallo world应用程序,并将引用路径更改为
C:\ WINNT \ MicroSoft \\\\\\\\\\\\\\\\\\\\所有引用都从v 1.1改为v 1.0

。当我尝试编译时,我得到了一个按钮的错误:价值

类型''System.Drawing.Point''无法转换为''System.Drawing.Point''。 ;

如果我创建一个更大的应用程序,我会遇到更多问题吗?问候
/ Niklas
Hi
I have Visual Studio 2003 but I want to do a VB .NET project with Framework 1.0.3705. Is this possible? I created a Hallo world application and changed the Reference Path to C:\WINNT\Microsoft.NET\Framework\v1.0.3705. All references changed to v 1.0
from v 1.1. When I tried to compile i got this error for a button: "Value of
type ''System.Drawing.Point'' cannot be converted to ''System.Drawing.Point''."
Am I going to have a lot more problems if I create a bigger application? Regards
/Niklas



*" Niki Estner" < NI ********* @ cube.net> scripsit:
* "Niki Estner" <ni*********@cube.net> scripsit:
VS 2003有一个what-framework-to-use切换,隐藏在项目中 -
属性 - 公共属性 - 构建部分。我必须承认我从来没有使用它,但我总是认为它没有太多的东西你想要的东西......
你试过吗?
VS 2003 has a "what-framework-to-use" switch, hidden in the Project -
Properties - Common Properties - Build section. I must admit I never used
it, but I always assumed it does what you want to have without much ado...
Did you try that?




....但是这仍然会创建.NET 1.1程序集。


-

Herfried K. Wagner [MVP]

< URL:http://dotnet.mvps.org/>



.... but this will still create .NET 1.1 assemblies.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


真的吗?我总是假设用仅支持1.0

框架来构建项目。切换,生成的可执行文件在一个

1.0框架上运行正常,并且如果两个框架版本并排安装,则行为相同(即使用1.0版)。这是错的吗?如果是这样的话,

什么是那个开关适合的?


Niki


" Herfried K.瓦格纳[MVP]" <喜*************** @ gmx.at>写在

news:2k ************ @ uni-berlin.de ...
Really? I always assumed building a project with the "support only 1.0
framework" switch, the resulting executables would run fine on a
1.0-framework, and would behave the same if both framework versions are
installed side-by-side (i.e. use the 1.0 version). Is this wrong? If so,
what''s that switch good for?

Niki

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in
news:2k************@uni-berlin.de...
*Niki Estner < NI ********* @ cube.net> scripsit:
* "Niki Estner" <ni*********@cube.net> scripsit:
VS 2003有一个what-framework-to-use切换,隐藏在项目中 -
属性 - 公共属性 - 构建部分。我必须承认我从来没有使用过
,但是我总是认为它可以做你想要的东西而没有多少
ado ...你试过吗?
VS 2003 has a "what-framework-to-use" switch, hidden in the Project -
Properties - Common Properties - Build section. I must admit I never used it, but I always assumed it does what you want to have without much ado... Did you try that?



...但这仍将创建.NET 1.1程序集。

- Herfried K. Wagner [MVP]
< URL:http://dotnet.mvps。 org />



... but this will still create .NET 1.1 assemblies.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>



这篇关于在VS 2003中使用Framework v1.0进行项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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