By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,088 Members | 1,059 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,088 IT Pros & Developers. It's quick & easy.

Problem with VS2008 Target Framework

P: n/a
I am working on an application in VS2008. I have set the target
framework to 2.0. I distributed the app to a coworker in MSI format.
When he tried to install it, he was told that he needed to install the
3.5 framework. I am wondering, when I created the project, I didn't
even notice the dropdown in the create project dialog to select the
target framework, so it was initially created with 3.5 as the target
framework. But I went into the project properties and changed it to
2.0. I wonder if that is why he was told he needed the 3.5 framework?
Feb 29 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Did you change the properties on the project which created the
executable, or did you change the property on the setup project? The
dependency on the .NET framework in the setup project has to be changed to
..NET 2.0 as well.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<za***@construction-imaging.comwrote in message
news:4b**********************************@s37g2000 prg.googlegroups.com...
>I am working on an application in VS2008. I have set the target
framework to 2.0. I distributed the app to a coworker in MSI format.
When he tried to install it, he was told that he needed to install the
3.5 framework. I am wondering, when I created the project, I didn't
even notice the dropdown in the create project dialog to select the
target framework, so it was initially created with 3.5 as the target
framework. But I went into the project properties and changed it to
2.0. I wonder if that is why he was told he needed the 3.5 framework?

Feb 29 '08 #2

P: n/a
On Feb 29, 10:56*am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
* * Did you change the properties on the project which created the
executable, or did you change the property on the setup project? *The
dependency on the .NET framework in the setup project has to be changed to
.NET 2.0 as well.
Thanks for your quick reply. Sure enough, I checked the setup
project's properties pre-requisites, and 3.5 was checked and 2.0 was
not.
<za...@construction-imaging.comwrote in message

news:4b**********************************@s37g2000 prg.googlegroups.com...
I am working on an application in VS2008. I have set the target
framework to 2.0. I distributed the app to a coworker in MSI format.
When he tried to install it, he was told that he needed to install the
3.5 framework. I am wondering, when I created the project, I didn't
even notice the dropdown in the create project dialog to select the
target framework, so it was initially created with 3.5 as the target
framework. But I went into the project properties and changed it to
2.0. I wonder if that is why he was told he needed the 3.5 framework?
Feb 29 '08 #3

P: n/a
On Feb 29, 10:56*am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
* * Did you change the properties on the project which created the
executable, or did you change the property on the setup project? *The
dependency on the .NET framework in the setup project has to be changed to
.NET 2.0 as well.
OK, I unchecked 3.5 and checked 2.0 in the setup project properties
prerequisites and rebuilt the setup. I tried installing the app on a
computer that does not have 3.5 framework installed yet and the setup
still tells me that I first need to install the 3.5 framework.

And more ideas?
>
<za...@construction-imaging.comwrote in message

news:4b**********************************@s37g2000 prg.googlegroups.com...
I am working on an application in VS2008. I have set the target
framework to 2.0. I distributed the app to a coworker in MSI format.
When he tried to install it, he was told that he needed to install the
3.5 framework. I am wondering, when I created the project, I didn't
even notice the dropdown in the create project dialog to select the
target framework, so it was initially created with 3.5 as the target
framework. But I went into the project properties and changed it to
2.0. I wonder if that is why he was told he needed the 3.5 framework?
Feb 29 '08 #4

P: n/a
If you have 2.0 on both, then it should only look for .NET 2.0. Are you
sure you are rebuilding the setup proejct? Doing CTRL+SHIFT+B will not
rebuild the setup project, I've always had to right click on the setup
project and select "Rebuild".
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<za***@construction-imaging.comwrote in message
news:69**********************************@e6g2000p rf.googlegroups.com...
On Feb 29, 10:56 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
Did you change the properties on the project which created the
executable, or did you change the property on the setup project? The
dependency on the .NET framework in the setup project has to be changed to
.NET 2.0 as well.
OK, I unchecked 3.5 and checked 2.0 in the setup project properties
prerequisites and rebuilt the setup. I tried installing the app on a
computer that does not have 3.5 framework installed yet and the setup
still tells me that I first need to install the 3.5 framework.

And more ideas?
>
<za...@construction-imaging.comwrote in message

news:4b**********************************@s37g2000 prg.googlegroups.com...
I am working on an application in VS2008. I have set the target
framework to 2.0. I distributed the app to a coworker in MSI format.
When he tried to install it, he was told that he needed to install the
3.5 framework. I am wondering, when I created the project, I didn't
even notice the dropdown in the create project dialog to select the
target framework, so it was initially created with 3.5 as the target
framework. But I went into the project properties and changed it to
2.0. I wonder if that is why he was told he needed the 3.5 framework?

Feb 29 '08 #5

P: n/a
On Feb 29, 11:35*am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
* * If you have 2.0 on both, then it should only look for .NET 2.0. *Are you
sure you are rebuilding the setup proejct? *Doing CTRL+SHIFT+B will not
rebuild the setup project, I've always had to right click on the setup
project and select "Rebuild".
I always right click on the setup project and click on Build.
>
<za...@construction-imaging.comwrote in message

news:69**********************************@e6g2000p rf.googlegroups.com...
On Feb 29, 10:56 am, "Nicholas Paldino [.NET/C# MVP]"

<m...@spam.guard.caspershouse.comwrote:
Did you change the properties on the project which created the
executable, or did you change the property on the setup project? The
dependency on the .NET framework in the setup project has to be changed to
.NET 2.0 as well.

OK, I unchecked 3.5 and checked 2.0 in the setup project properties
prerequisites and rebuilt the setup. I tried installing the app on a
computer that does not have 3.5 framework installed yet and the setup
still tells me that I first need to install the 3.5 framework.

And more ideas?


<za...@construction-imaging.comwrote in message
news:4b**********************************@s37g2000 prg.googlegroups.com...
>I am working on an application in VS2008. I have set the target
framework to 2.0. I distributed the app to a coworker in MSI format.
When he tried to install it, he was told that he needed to install the
3.5 framework. I am wondering, when I created the project, I didn't
even notice the dropdown in the create project dialog to select the
target framework, so it was initially created with 3.5 as the target
framework. But I went into the project properties and changed it to
2.0. I wonder if that is why he was told he needed the 3.5 framework?
Feb 29 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.