Compiling an application to 1.1 using VS2005

Compiling an application to 1.1 using VS2005

Post by Jeroen van » Wed, 11 Jan 2006 22:50:04


Hi everyone,

I have a .NET 1.1-application that I'd like to build in VS2005, without
having the final assemblies require the 2.0 CLR to run. I was hoping
that setting the Project Settings->Build->Advanced->Language Version
option to ISO-1 would do this, but after building my application in
VS2005 with this option, the final application does not run on a
machine that only has the 1.1 version of the .NET Framework installed.
When attempting to run the application I get a cryptic error message
stating that I should probably reinstall my .NET Framework. The
application runs fine on a machine that has 2.0 installed.

Any ideas? Thanks in advance for any help!

-Jeroen
http://www.yqcomputer.com/
 
 
 

Compiling an application to 1.1 using VS2005

Post by NuTcAs » Thu, 12 Jan 2006 01:23:29

Applications that are compiled with 2.0 will not run on 1.1. This is
because the compiled IL by 2.0 will not run on 1.1. Even if you do not
make use of any new featured of 2.0, the compiled application will not
run because the IL first instruction set is to check for 2.0. Thats
what pops up the message that you should install 2.0 to run this
application.

 
 
 

Compiling an application to 1.1 using VS2005

Post by Jeroen van » Thu, 12 Jan 2006 03:32:34

Thanks for your reply.

I see, so VS2005 simply does not have any support for creating 1.1
assemblies? That's a shame.

-Jeroen
http://www.yqcomputer.com/