![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I am developing a solution using C# targetting the .Net framework 2.0. The solution contains an window's form executable and a number of class library projects. The solution also contains a WindowsInstaller project. I've set the pre-requisites of the installation project to require .Net 2 and not .Net 3 nor 3.5. However, when I run the installer on a clean build of XP it is prompting to me to install .Net 3.5. I've checked that all assemblies are targeting the .Net 2.0. Why is the installer requiring 3.5? Regards, Dave. |
#3
| |||
| |||
|
|
Date: Fri, 04 Jan 2008 10:16:41 +0800 From: jacky kwok <jacky (AT) nospam (DOT) nospam User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Subject: Re: VS2008 Installer Project mfr wrote: Hi, I am developing a solution using C# targetting the .Net framework 2.0. The solution contains an window's form executable and a number of class library projects. The solution also contains a WindowsInstaller project. I've set the pre-requisites of the installation project to require .Net 2 and not .Net 3 nor 3.5. However, when I run the installer on a clean build of XP it is prompting to me to install .Net 3.5. I've checked that all assemblies are targeting the .Net 2.0. Why is the installer requiring 3.5? Regards, Dave. 1. When you created the window form application project, did you correctly select the Runtime to be Dotnet2? 2. check the Installer project, Launch conditions. What is the version of Dotnet framework in ".Net Framwwork" launch condition? -- Jacky Kwok jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk |
#4
| |||
| |||
|
|
Thanks for Jacky's input. Hi Dave, As Jacky suggested, you can first check whether you've choosed the ".net framework 2.0" when creating the setup project. If you've chosen the ".net 3.5" option, the setup project may naturally rely on .net framework 3.5. Also, for further testing, you can try creating a very simplified setup project with the VS 2008 IDE(choose .net version 2) to see whether you can repro the behavior. Sincerely, Steven Cheng Microsoft MSDN Online Support Lead This posting is provided "AS IS" with no warranties, and confers no rights. -------------------- Date: Fri, 04 Jan 2008 10:16:41 +0800 From: jacky kwok <jacky (AT) nospam (DOT) nospam User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Subject: Re: VS2008 Installer Project mfr wrote: Hi, I am developing a solution using C# targetting the .Net framework 2.0. The solution contains an window's form executable and a number of class library projects. The solution also contains a WindowsInstaller project. I've set the pre-requisites of the installation project to require .Net 2 and not .Net 3 nor 3.5. However, when I run the installer on a clean build of XP it is prompting to me to install .Net 3.5. I've checked that all assemblies are targeting the .Net 2.0. Why is the installer requiring 3.5? Regards, Dave. 1. When you created the window form application project, did you correctly select the Runtime to be Dotnet2? 2. check the Installer project, Launch conditions. What is the version of Dotnet framework in ".Net Framwwork" launch condition? -- Jacky Kwok jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |