This walkthrough shows how to deploy a simple .NET Framework Client Profile application by using ClickOnce.
In this walkthrough, you perform the following tasks:
When you are finished, you will be able to deploy a .NET Framework Client Profile application by using ClickOnce.
Note: |
|---|
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings. |
You need the following components to complete this walkthrough:
Creating and Configuring the WPF project
The first step is to create the project for the WPF application.
To create the WPF project
Deploying the Application
You deploy a .NET Framework Client Profile application by using ClickOnce just like other .NET applications.
To deploy the application
In Solution Explorer, right-click the DemoApplication project and select Properties.
Click the Publish tab.
Click Prerequisites.
The Prerequisites dialog box opens.
In the Choose which prerequisites to install section, check .NET Framework Client Profile.
Uncheck .NET Framework 3.5 and .NET Framework 3.5 SP1 if they are checked.
In the Specify the install location for prerequisites section, leave the default Download prerequisites from the component vendor's web site option selected.
This option specifies to download the .NET Client Profile from Microsoft's Web site.
Click OK to close the dialog box.
Follow the steps to publish the application by using ClickOnce. For more information, see Publish Wizard.
Note: |
|---|
Administrator permissions are required to install the .NET Framework Client Profile. |
Tasks
Concepts
Reference