473,405 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Doing projects with Framework v1.0 in VS 2003?

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

Nov 20 '05 #1
10 1110
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...
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

Nov 20 '05 #2
* "Niki Estner" <ni*********@cube.net> scripsit:
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?


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

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3
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:
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?


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

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

Nov 20 '05 #4
* "Niki Estner" <ni*********@cube.net> scripsit:
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?


MSDN:

"
Microsoft .NET Framework v1.0 (advanced)
Specifies that the application will run only if version 1.0 of the
common language runtime is present on the computer.

Note When you specify version 1.0, the app.config file will be
modified with a section specifying that it can run on version 1.0 of the
runtime. The application will actually be built using the version 1.1
compiler, and will be a version 1.1 application in all other respects.
"

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5
So, if I got that right, the app will run on the 1.0 framework if compiled
with that switch. I thought that's what the OP wanted? At least, changing
the references (as he described it) should do about the same in my mind.

Niki

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in
news:2k************@uni-berlin.de...
* "Niki Estner" <ni*********@cube.net> scripsit:
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?


MSDN:

"
Microsoft .NET Framework v1.0 (advanced)
Specifies that the application will run only if version 1.0 of the
common language runtime is present on the computer.

Note When you specify version 1.0, the app.config file will be
modified with a section specifying that it can run on version 1.0 of the
runtime. The application will actually be built using the version 1.1
compiler, and will be a version 1.1 application in all other respects.
"

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

Nov 20 '05 #6
* "Niki Estner" <ni*********@cube.net> scripsit:
So, if I got that right, the app will run on the 1.0 framework if compiled
with that switch. I thought that's what the OP wanted? At least, changing
the references (as he described it) should do about the same in my mind.


Yep, but as I said, it's still a .NET 1.1 application.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #7
Using that switch helped me a lot, but with the information I have got from this thread, maybe I will develop my application with VS 2002.
Regards
/Niklas

"Niki Estner" wrote:
So, if I got that right, the app will run on the 1.0 framework if compiled
with that switch. I thought that's what the OP wanted? At least, changing
the references (as he described it) should do about the same in my mind.

Niki

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in
news:2k************@uni-berlin.de...
* "Niki Estner" <ni*********@cube.net> scripsit:
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?


MSDN:

"
Microsoft .NET Framework v1.0 (advanced)
Specifies that the application will run only if version 1.0 of the
common language runtime is present on the computer.

Note When you specify version 1.0, the app.config file will be
modified with a section specifying that it can run on version 1.0 of the
runtime. The application will actually be built using the version 1.1
compiler, and will be a version 1.1 application in all other respects.
"

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


Nov 20 '05 #8
Niklas,
In addition to the other comments.

For details of side by side & having an assembly run under a different
version of the framework see:
http://msdn.microsoft.com/library/de...dexsidenet.asp

If you have VS.NET 2002, you can install both at the same time, and do the
new project in VS.NET 2002...

Hope this helps
Jay

"Niklas" <Ni****@discussions.microsoft.com> wrote in message
news:84**********************************@microsof t.com...
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

Nov 20 '05 #9
Just curious: Could you tell me what that means? Of course, the compiler is
v1.1, but the generated IL/Metadata should be 1.0-compatible. Also, the
application should use the 1.0-framework dll's, wouldn't it? I really
haven't ever worked with it, but you do seem to know something about it.

Niki

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in
news:2k************@uni-berlin.de...
* "Niki Estner" <ni*********@cube.net> scripsit:
So, if I got that right, the app will run on the 1.0 framework if compiled with that switch. I thought that's what the OP wanted? At least, changing the references (as he described it) should do about the same in my mind.


Yep, but as I said, it's still a .NET 1.1 application.

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

Nov 20 '05 #10
Niki,
Of course, the compiler is
v1.1, but the generated IL/Metadata should be 1.0-compatible. 1.1 assemblies (.exe or .dll) are 1.0 compatible, however a 1.1 assembly
specifically references the 1.1 runtime, the 1.1 framework dlls.

Also, the
application should use the 1.0-framework dll's, wouldn't it? What the option does is add entries to the app.config file informing the
runtime to use the 1.0 framework dlls, instead of the 1.1 framework dlls.
Which means you need to be certain to include the app.config file when you
deploy your app.

Just curious: Could you tell me what that means? This article I previously posted explains it:
http://msdn.microsoft.com/library/de...dexsidenet.asp
Hope this helps
Jay

"Niki Estner" <ni*********@cube.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... Just curious: Could you tell me what that means? Of course, the compiler is v1.1, but the generated IL/Metadata should be 1.0-compatible. Also, the
application should use the 1.0-framework dll's, wouldn't it? I really
haven't ever worked with it, but you do seem to know something about it.

Niki

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in
news:2k************@uni-berlin.de...
* "Niki Estner" <ni*********@cube.net> scripsit:
So, if I got that right, the app will run on the 1.0 framework if compiled with that switch. I thought that's what the OP wanted? At least, changing the references (as he described it) should do about the same in my
mind.
Yep, but as I said, it's still a .NET 1.1 application.

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


Nov 20 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mike | last post by:
Hello, I hope there is a solution to this. I am required to develop a service application using Visual Studio ..NET. I am required to develop it using C++. Originally we set out using...
1
by: Luther Miller | last post by:
I've created a web setup project that works great for installing an ASP.NET application to a virtual directory on a server. I'd like to be able to use the same setup program to install multiple...
4
by: jaredea | last post by:
I have the following setup: SBS 2003 Server Windows 2003 Enterprise Server (setup as an Application Server) Windows XP Pro Desktop Both the Application server and desktop have Visual Studio...
3
by: MSNews | last post by:
I have a requirement to use simple project files which were created on 2003 on 2002 version of .NET. This is because the customer site does not yet have 2003 but the course projects were written in...
4
by: Auric__ | last post by:
I'm a VB6 programmer (with a leetel bit of C-ish languages) and I'm going to bite the bullet and give .Net a try - again - but I want to see how things work by importing my current projects and...
5
by: bob | last post by:
Hi Using 2003 - targeting the compact framework (c#), but would like to do most development using the full.net (manually leaving out stuff not in the compact framework). Q. Trying to find a...
7
by: crowl | last post by:
VS.2003, .NET Framework 1.1, C# My goal: Creating a dll (helper.dll) which contains some UserControls and some other helpful classes in order to use it in other projects. Symtoms: The...
11
by: Sean Campbell | last post by:
Hello everyone! I just finished writing a small app in VB 2005. I paid very close attention to using only Framework 1.1 commands since my client has not yet installed the Framework 2.0 across...
4
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi Is there a way to easily tell the version pf .NET a project is compiled using in Visual Studio? I have a solution with a few projects, but I have a feeling some of the projects are...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.