Hi there, I deploy my WPF application with Visual Studio 2008 and ClickOnce. My application runs with the ;Net 3.0 framework, but during the installation steps, the .Net 3.5 component is required... Do you know why ? Could VStudio 2008 need this component ? Oriane
On Nov 12, 5:08 pm, "Oriane" wrote: > I deploy my WPF application with Visual Studio 2008 and ClickOnce. My > application runs with the ;Net 3.0 framework, but during the installation > steps, the .Net 3.5 component is required... Do you know why ? Could VStudio > 2008 need this component ? What version of the framework does your project target? Jon
Hi Jon, "Jon Skeet [C# MVP]" a écrit dans le message de news:1194942576.276152.134080@k79g2000hse.googlegroups.com... > On Nov 12, 5:08 pm, "Oriane" wrote: >> I deploy my WPF application with Visual Studio 2008 and ClickOnce. My >> application runs with the ;Net 3.0 framework, but during the installation >> steps, the .Net 3.5 component is required... Do you know why ? Could >> VStudio >> 2008 need this component ? > > What version of the framework does your project target? Framework .Net 3.0 Oriane
On Nov 13, 8:57 am, "Oriane" wrote: > > What version of the framework does your project target? > > Framework .Net 3.0 Hmm. Not sure then. It's possible that ClickOnce itself has changed to depend on things in .NET 3.5... Jon
The help online from Visual Studio 2008 states that: ".NET Framework 3.5 This package installs the following: .NET Framework versions 2.0, 3.0, and 3.5 Support for all .NET Framework versions on 32-bit (x86) and 64-bit (x64) operating systems Language packs for all .NET Framework versions Service packs for .NET Framework 2.0 and 3.0 .NET Framework 3.0 is included with Windows Vista, and .NET Framework 3.5 is included with Visual Studio 2008. It is required for all Visual Basic and Visual C# projects that are expected to run on x86 and x64 operating systems. Note that Visual Basic and Visual C# projects are compiled for any CPU architecture by default. For more information, see Redistributing the .NET Framework and Deploying 64-bit Applications. By default, this item is selected. " If I deselect this item, nothing is changed and the 3.5 framework is still required. The thing is that this framework has to be installed also on Vista and is quite heavy. My experience is that it takes at least 15 minutes to download and install the 3.5 framework. So I'm not sure that my fulure users will be patient enough... Oriane
Have you looked at the prerequisites on the projects publish tab. Make sure you have checked the desired version of framework. Changing the target plateform does not automatically adjust the prerequisite. -- Kenneth Lemieux Project Engineer Whelen Engineering Co., Inc. "Oriane" wrote: > Hi there, > > I deploy my WPF application with Visual Studio 2008 and ClickOnce. My > application runs with the ;Net 3.0 framework, but during the installation > steps, the .Net 3.5 component is required... Do you know why ? Could VStudio > 2008 need this component ? > > Oriane >
You need check out the "use application manifest for trust application" in the Preperties->Publish->Option Button, If you doesn't user .NET 3.5 or some features from .NET 3.5 "Oriane" wrote: > Hi there, > > I deploy my WPF application with Visual Studio 2008 and ClickOnce. My > application runs with the ;Net 3.0 framework, but during the installation > steps, the .Net 3.5 component is required... Do you know why ? Could VStudio > 2008 need this component ? > > Oriane >