
Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.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.
[quoted text clipped - 4 lines]
> 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?
On Feb 29, 10:56 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.com> wrote:
> 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.com> wrote in message
>
[quoted text clipped - 8 lines]
> > 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?
On Feb 29, 10:56 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.com> wrote:
> 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.com> wrote in message
>
[quoted text clipped - 8 lines]
> > 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?
Nicholas Paldino [.NET/C# MVP] - 29 Feb 2008 16:33 GMT
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".

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
On Feb 29, 10:56 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.com> wrote:
> 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.com> wrote in message
>
[quoted text clipped - 8 lines]
> > 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?
zacks@construction-imaging.com - 29 Feb 2008 17:03 GMT
On Feb 29, 11:35 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.com> wrote:
> 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.com> wrote in message
>
[quoted text clipped - 26 lines]
> > > 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?
Chris Dunaway - 29 Feb 2008 19:33 GMT
On Feb 29, 10:23 am, za...@construction-imaging.com wrote:
> On Feb 29, 10:56 am, "Nicholas Paldino [.NET/C# MVP]"
>
[quoted text clipped - 23 lines]
> > > 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?
Are you certain that you are not referencing any 3.5 versions of any
assemblies? Just a shot in the dark, but you could examine
the .csproj file and see what versions of all references you are
using.
Chris