Creating a web setup project in .net 3.5 that targets to .net 2.0

P

Pooja

Hi,

I have my 2.0 web application running in VS 2008. I added a web setup
project to the same solution and selected the template while creating the
project as: .Net Framework 2.0. After creating the .msi, I tried running it
on a different machine, which has .net framework 2.0. It prompts to install
..net 3.5. I want it to work on 2.0.

Please advice as to what am I missing while creating my setup project.

Thanks,
Pooja.
 
M

Michael Nemtsev [MVP]

Hello Pooja,

What are the settings of web setup project?
there should be the reference of which version .NET FW is required during
installation

---
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


P> Hi,
P>
P> I have my 2.0 web application running in VS 2008. I added a web setup
P> project to the same solution and selected the template while creating
P> the project as: .Net Framework 2.0. After creating the .msi, I tried
P> running it on a different machine, which has .net framework 2.0. It
P> prompts to install .net 3.5. I want it to work on 2.0.
P>
P> Please advice as to what am I missing while creating my setup
P> project.
P>
P> Thanks,
P> Pooja.
 
P

Pooja

Hi Michael,

Thanks for replying.

There is a pre-requisites section, there I selected .Net 2.0 instead of .Net
3.5. I also tried removing everything from this section. Still it asks for
installation of .net 3.5 only.

Thanks,
Pooja.
 
P

Pooja

Hi Michael,

Thanks for your help. I got the solution. You just need to do the following:
1. Right click on the Setup Project in Solution Explorer.
2. View -> Launch Conditions.
3. Select .Net Framework. Properties -> select the appropriate version of
..net framework.

Thanks,
Pooja.
 

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