For Programmers: Free Programming Magazines  


Home > Archive > C# > January 2006 > Compiling an application to 1.1 using VS2005









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Compiling an application to 1.1 using VS2005
Jeroen van den Bos

2006-01-10, 7:57 am

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://jvdb.org/

NuTcAsE

2006-01-10, 9:58 pm

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.

Jeroen van den Bos

2006-01-10, 9:58 pm

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://jvdb.org/

NuTcAsE wrote:
> 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.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com