Dot net 1.1 in Dot net 2.0

N

Nishanth

I have a code that is compiled and runs in VS 2003, which i believe
runs 1.1 frameworks,

I want to know if we can do any of the following

1. I want to compile the code in 1.1 framework but run on 2.0
framework in the same machine, as I believe it is not possible to
configure VS 2003 to run and compile the code on 2.0 framework.

2. if the above the scenario is not possible will I be able to run the
1.1 code in a system that has got only 2.0 framework installed.
 
M

Mattias Sjögren

1. I want to compile the code in 1.1 framework but run on 2.0
framework in the same machine, as I believe it is not possible to
configure VS 2003 to run and compile the code on 2.0 framework.

You can specify in the application configuration file that you
application works with the 2.0 runtime. Then that will be used if
installed.


Mattias
 
M

Michael Nemtsev [MVP]

Hello Nishanth,

use <requiredRuntime> tag of app.config
but sometimes it doesnt help and FW 1.1 is required even u point 2.0 version

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


N> I have a code that is compiled and runs in VS 2003, which i believe
N> runs 1.1 frameworks,
N>
N> I want to know if we can do any of the following
N>
N> 1. I want to compile the code in 1.1 framework but run on 2.0
N> framework in the same machine, as I believe it is not possible to
N> configure VS 2003 to run and compile the code on 2.0 framework.
N>
N> 2. if the above the scenario is not possible will I be able to run
N> the 1.1 code in a system that has got only 2.0 framework installed.
N>
 

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