running .net application on framework 1.0

R

ReidarT

It seems that if an application is made under .net framework 1.1 the user
need framework 1.1 installed.
Some machines have .net framework 1.0 installed. Is it possible to force the
application to use framework 1.0 instead of 1.1 to run properly?
regards
reidarT
 
C

Cor Ligthert [MVP]

It seems that if an application is made under .net framework 1.1 the user
need framework 1.1 installed.
Some machines have .net framework 1.0 installed. Is it possible to force
the application to use framework 1.0 instead of 1.1 to run properly?
regards

No because it just is using the code from the Net 1.1 which is not in 1.0.

You can force your compiler to Build (if that is not conflicting in your
code) to create 1.0 programs, however than it should be coded with the
limitations of a 1.0 program.

I hope this helps,

Cor
 
H

Herfried K. Wagner [MVP]

ReidarT said:
It seems that if an application is made under .net framework 1.1 the user
need framework 1.1 installed.

That's not necessarily true. If an appropriate config file is available and
the application doesn't make use of .NET 1.1's features, a .NET 1.1 assembly
can be executed with .NET 1.0. In the project properties you can check a
checkbox which will create the appropriate config files for you. However,
note that the compiler will still emit .NET 1.1 assemblies.

More information:

<URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/db3836b03493a5a8>
 
C

Carlos J. Quintero [VB MVP]

Hi Cor,

Just to clarify, you CAN´T force the compiler (VS.NET 2003) to create .NET
Framework 1.0 apps, but once compiled to .NET Framework 1.1 you can force
them to run with .NET Framework 1.0 through a .config file (that the
compiler can generate for you), and as you have said, it will do the trick
provided that you have not used .NET Framework 1.1 classes or functions.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top