473,396 Members | 1,770 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,396 software developers and data experts.

Compiling for .NET Framework 1.x in VS 2005

Can you force VS 2005 to compile a program to be compatible with
version 1.x of the .NET Framework? HOW!?

Oct 10 '06 #1
12 1341
Just wondering, why would you want to?

Thanks,

Seth Rowe
jtertin wrote:
Can you force VS 2005 to compile a program to be compatible with
version 1.x of the .NET Framework? HOW!?
Oct 11 '06 #2
jtertin wrote:
Can you force VS 2005 to compile a program to be compatible with
version 1.x of the .NET Framework?
No. You'll need VS 2002/2003 in order to do this. You can install them
side-by-side if you wish without any interference between the two.

--

(O)enone
Oct 11 '06 #3

theoretically.

"Oenone" <oe****@nowhere.comwrote in message
news:q9*******************@newsfe6-gui.ntli.net...
jtertin wrote:
>Can you force VS 2005 to compile a program to be compatible with
version 1.x of the .NET Framework?

No. You'll need VS 2002/2003 in order to do this. You can install them
side-by-side if you wish without any interference between the two.

--

(O)enone

Oct 11 '06 #4
I heard about http://www.codeplex.com/Wiki/View.as...jectName=MSBee that
should do that.

The default situation is that each version of VS.NET targets a particular
version of the .NET framework (VS 2005 creates 2.0 applications, VS2003
targets 1.1 and VS 2002 targets 1.0).
Also a 1.1 application could be able to run under 1.0. Support for running a
2.0 application under 1.1 was dropped because there are so much additions
that it would be likely anyway that a vast majority of 2.0 applications
would use 2.0 specific features and couldn't run in 1.1).

Hope this helps.
--
Patrice

"jtertin" <jt*****@gmail.coma écrit dans le message de news:
11**********************@m7g2000cwm.googlegroups.c om...
Can you force VS 2005 to compile a program to be compatible with
version 1.x of the .NET Framework? HOW!?

Oct 11 '06 #5
jeff wrote:
theoretically.
Assuming that comment is in reference to the side-by-side installation, it's
certainly not just theory. I've got VS2003 and 2005 installed together on
both machines I work on and have absolutely no problems with it whatsoever.

--

(O)enone
Oct 11 '06 #6

glad u have better luck than me...

"Oenone" <oe****@nowhere.comwrote in message
news:9i****************@newsfe3-gui.ntli.net...
jeff wrote:
>theoretically.

Assuming that comment is in reference to the side-by-side installation,
it's certainly not just theory. I've got VS2003 and 2005 installed
together on both machines I work on and have absolutely no problems with
it whatsoever.

--

(O)enone

Oct 11 '06 #7
jeff wrote:
glad u have better luck than me...
What problems have you experienced?

--

(O)enone
Oct 11 '06 #8
I'm interested in know what issues you had. I have VS2003 and VS2005
installed on the same machine and have had no problems activlely developing
and maintaining applications with both versions. Maybe we can help.

"jeff" wrote:
>
glad u have better luck than me...

"Oenone" <oe****@nowhere.comwrote in message
news:9i****************@newsfe3-gui.ntli.net...
jeff wrote:
theoretically.
Assuming that comment is in reference to the side-by-side installation,
it's certainly not just theory. I've got VS2003 and 2005 installed
together on both machines I work on and have absolutely no problems with
it whatsoever.

--

(O)enone


Oct 11 '06 #9
You can not force VS2005 to compile your assembly using the framework v1.1.
However, assuming that your assembly CAN run in .NET v1.1 (if compiled with
VS2003), then you can do this.

1. Complie your code in VS2005
2. In your app.config file, use the <supportedRuntimetag to force your
app to run in .NET v1.1

<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="2.0.50727"/>
</startup>
</configuration>

That will force your assembly to run under v1.1. If that is not installed,
it will run under v2.0. I've only tried this once or twice before, but it
should work.

"jtertin" wrote:
Can you force VS 2005 to compile a program to be compatible with
version 1.x of the .NET Framework? HOW!?

Oct 11 '06 #10
You can not force VS2005 to compile your assembly using the framework v1.1.
However, assuming that your assembly CAN run in .NET v1.1 (if compiled with
VS2003), then you can do this.

1. Complie your code in VS2005
2. In your app.config file, use the <supportedRuntimetag to force your
app to run in .NET v1.1

<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="2.0.50727"/>
</startup>
</configuration>

That will force your assembly to run under v1.1. If that is not installed,
it will run under v2.0. I've only tried this once or twice before, but it
should work.
"jtertin" wrote:
Can you force VS 2005 to compile a program to be compatible with
version 1.x of the .NET Framework? HOW!?

Oct 11 '06 #11
You can not force VS2005 to compile your assembly using the framework v1.1.
However, assuming that your assembly CAN run in .NET v1.1 (if compiled with
VS2003), then you can do this.

1. Complie your code in VS2005
2. In your app.config file, use the <supportedRuntimetag to force your
app to run in .NET v1.1

<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="2.0.50727"/>
</startup>
</configuration>

That will force your assembly to run under v1.1. If that is not installed,
it will run under v2.0. I've only tried this once or twice before, but it
should work.

"jtertin" wrote:
Can you force VS 2005 to compile a program to be compatible with
version 1.x of the .NET Framework? HOW!?

Oct 11 '06 #12
You can not force VS2005 to compile your assembly using the framework v1.1.
However, assuming that your assembly CAN run in .NET v1.1 (if compiled with
VS2003), then you can do this.

1. Complie your code in VS2005
2. In your app.config file, use the <supportedRuntimetag to force your
app to run in .NET v1.1

<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="2.0.50727"/>
</startup>
</configuration>

That will force your assembly to run under v1.1. If that is not installed,
it will run under v2.0. I've only tried this once or twice before, but it
should work.
"jtertin" wrote:
Can you force VS 2005 to compile a program to be compatible with
version 1.x of the .NET Framework? HOW!?

Oct 11 '06 #13

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

Similar topics

7
by: Martin Strojek | last post by:
Hi, I have the following problem with developing some web site. I use Visual Studio 2003 to build a website. I tried Windows 2003 Server and switched now back to Windows XP with PWS but the...
4
by: bryan | last post by:
I'm still using Beta 2 of VS2005. I'd like to be able to precompile my web site (similar to 1.x) so that I don't have to put source files on the deployment server. Is there anyway to do this other...
1
by: Papanii Okai | last post by:
Hi Guys, I am trying to use the command line to compile a .cs file to a dll. I am using the Windows SDK command shell for this. Below is the command.. C:\Documents and Settings\Papanii...
13
by: Richard | last post by:
Hi All, The ASPX file below runs fine in ASP .NET WebMatrix 0.6 under WinXP/SP2 with IIS 5.1 and .NET Framework 1.0, 1.1 and 2.0. But if the last scriptString line is eliminated after...
2
by: David P. Donahue | last post by:
We just installed Visual Studio 2005 at our office (moving to .NET from Delphi) and our Citrix admins are telling us that any .NET applications deployed on their servers need to make use of the 1.1...
5
by: NvrBst | last post by:
I'm wondering if this is possible... Basically say I have a lot of .cs files but only 1 of them changes. Is there a way (with the csc.exe, or VS.NET 2005, or another C# Compiler), that I can...
5
by: Eric | last post by:
Hi, I want to generate a dll for x64. In the project, I specify the platform target x64 but VS2005 use the win32 framework. Here is the warnings that I get : ...
7
by: Nikola Skoric | last post by:
The problem is really quite straightforward: I develop my applications in Microsoft Visual C# 2005 Express Edition, and I need to run the application on Windows XP which have .NET Framework version...
2
by: Manikandan | last post by:
Hi, I have a program written in .Net Framework 1.1 using Visual studio enterprise edition 2003. I tried compiling the same program in visual c# express edition 2005. I'm getting following...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.