Framework Version

G

Guest

Hi

I have installed 1.1 and 2.0 framework in my machine.

Now i have developed an asp.net application with 2.0 as framework and when i
created a set up for my application and installed it, it took 1.1 as the
default framework and i had to go to IIS and changed the Framework version to
2.0 for this application.

Is there any way that i could specify that this application should use 2.0
while creating setup for this project even though 1.1 is the default in that
server ?

Thanx in advance

Ragu
 
V

VJ

I believe this can be done using the Web.Config, what ever you change in IIS
is also changing Web.Config. You can place a web.config in the application's
root virtual directory and include the below to load 2.0. This web.config
you can deploy with the MSI.

VJ
 
J

jacky kwok

Ragu said:
Hi

I have installed 1.1 and 2.0 framework in my machine.

Now i have developed an asp.net application with 2.0 as framework and when i
created a set up for my application and installed it, it took 1.1 as the
default framework and i had to go to IIS and changed the Framework version to
2.0 for this application.

Is there any way that i could specify that this application should use 2.0
while creating setup for this project even though 1.1 is the default in that
server ?

Thanx in advance

Ragu

You can call the command in

http://www.asp.net/faq/SideBySide.aspx?tabindex=0&tabid=1#2

to switch the target framework. The above link is for dotnet1.0/1.1 but
the command works for dotnet2.0. Just change the path to the dotnet2.0 path.
 
G

Guest

Hi VJ

Thanxs for your reply.

What should i add in the web.config file to do that

Regards
Ragu
 

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