473,408 Members | 2,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Problem with VS2008 Target Framework

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
5 1804
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
3
by: =?Utf-8?B?Q01Xb29kcw==?= | last post by:
Is there a way to specify which .Net Framework version should be targeted when compiling a C++/CLI managed assembly? I see that VS2008 includes an easy way to specify which framework version...
8
by: Joe Withawk | last post by:
I have a solution consisting of a c# project as win application and a c++ project as classlibrary. Both are .net 2.0 The classlibrary handles some loading of quicktime movies, but that should not...
20
by: Iouri | last post by:
Hi everybody, We are currently using VS2003 and now we are in the porcess of upgrading to the next Visual Studio version. Does somebody have a real life experience with VS2008? My boss wants to...
1
by: Adhal | last post by:
Hi, I have an issue when trying to create a "Setup Project" on VS2008. I created a project with an EXE output with target framework 2.0. Then I created "Setup Project" also with ".NET Framework...
6
by: Scott Gravenhorst | last post by:
Windows XP SP3 My application is set to open a SaveFile dialog when an exit is requested. When I click the app's close button, the save dialog opens, but when I click to change the folder, the...
8
by: Frank Hauptlorenz | last post by:
Hello out there, I changed an existing and good working webservice from an wsHttpBinding to an NetTcpBinding. This is working (after trying some time) and has real a better performance! But...
1
by: beauwlf | last post by:
Hi I recompiled previous VC6.0 C++ MFC project with VS2008 Evaluation It could run release at the system with the VS2008 installed. But it gives "Application has failed to start because the...
3
by: =?Utf-8?B?SmFsaWw=?= | last post by:
Please let me know how to configure VS2008 to use .Net Framework 3.5. My environment is using 2.0 and I don't know how to change it. Thanks, -Jalil
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.