在VS 2003中使用Framework v1.0进行项目?

编程入门 行业动态 更新时间:2024-10-18 07:58:16
本文介绍了在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>写道: news:84 ********************************** @ microsof t ... 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> wrote in news:84**********************************@microsof t... 嗨我有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> scripsit: * "Niki Estner" <ni*********@cube> 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/>

.... but this will still create .NET 1.1 assemblies. -- Herfried K. Wagner [MVP] <URL:dotnet.mvps/>

真的吗?我总是假设用仅支持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> scripsit: * "Niki Estner" <ni*********@cube> 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:dotnet.mvps/>

更多推荐

在VS 2003中使用Framework v1.0进行项目?

本文发布于:2023-11-07 05:54:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1565706.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目   Framework

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!