[ClikOnce]Why ClickOnce needs the Framework 3.5 on Vstudio 2008 Beta 2 ?

O

Oriane

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
 
J

Jon Skeet [C# MVP]

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
 
O

Oriane

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
 
K

Ken Lemieux

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.
 
N

Nikolay Podkolzin

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top