473,795 Members | 2,892 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1821
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.co m

<za***@construc tion-imaging.comwrot e in message
news:4b******** *************** ***********@s37 g2000prg.google groups.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.guar d.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...@construc tion-imaging.comwrot e in message

news:4b******** *************** ***********@s37 g2000prg.google groups.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.guar d.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...@construc tion-imaging.comwrot e in message

news:4b******** *************** ***********@s37 g2000prg.google groups.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.co m

<za***@construc tion-imaging.comwrot e in message
news:69******** *************** ***********@e6g 2000prf.googleg roups.com...
On Feb 29, 10:56 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guar d.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...@construc tion-imaging.comwrot e in message

news:4b******** *************** ***********@s37 g2000prg.google groups.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.guar d.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...@construc tion-imaging.comwrot e in message

news:69******** *************** ***********@e6g 2000prf.googleg roups.com...
On Feb 29, 10:56 am, "Nicholas Paldino [.NET/C# MVP]"

<m...@spam.guar d.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...@construc tion-imaging.comwrot e in message
news:4b******** *************** ***********@s37 g2000prg.google groups.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
5992
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 it? If not, how do I have to change my deployment strategy? Thanks!
3
1964
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 should be targeted when creating C# .Net Assemblies but I can't figure out how to do the same thing for C++/CLI Managed Assemblies. Or am I missing something fundamental and the C++/CLI assembly compiled with VS2008 will work "automagically" with...
8
3741
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 be relevant. On my development machine I build the exe and dll and run the exe which has a reference to the dll. At some point it uses featured in the dll. This works fine. Then I copy my exe and dll to the target system and when the featured...
20
2898
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 go with VS2005 and I am trying to convince to buy VS2008. Can somebody provide links to compare 2 products in terms of how stable they are. I do not need VS2008 new features, I need to prove to my management that VS2008 is a stable product. TIA
1
1317
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 2.0". When I ran the install it ask for .NET 3.5. I then proceeded to turn off "Create setup program to install prerequisites components". Rebuilt the project, but again when I try to run the install it asks me for .NET 3.5. I know the output...
6
4500
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 exception occurs pointing to FileSaveDialog1.ShowDialog(). The exception also indicates some problem with system.drawing.dll. The exception text is: "Attempted to read or write protected memory. This is often an
8
2148
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 one thing is strange: when I'm now actualising the web reference from within VS2008, VS2008 creates a 2nd endpoint config in my app.conf. The endpoint is exactly the same as the existing but the name and
1
2294
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 application configuration is incorrect..." Error when i try to run at target systems. I have already installed the Dot Net 3.5 at the target System. Even if i create a MFC C++ solution from VS2008 it gives the same error.
3
2195
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
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10443
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10216
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10002
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9044
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5565
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2921
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.