Export (0) Print
Expand All

How to: Configure a .NET Framework Client Profile Application for Deployment

.NET Framework 3.5

Updated: July 2008

This topic shows how to configure a .NET Framework Client Profile application for deployment.

By default, your application is specifically targeted for the latest version of the .NET Framework. The following procedure shows how to modify the default settings to target the .NET Framework Client Profile.

NoteNote:

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.

To configure the project for deployment

  1. In Solution Explorer, right-click the project and select Properties.

    The Application tab of the project's property pages opens.

  2. If your project is a C# project, check the Client-only Framework subset check box.

    If your project is a Visual Basic project, click the Compile tab and then click Advanced Compile Options.

    The Advanced Compiler Settings dialog box opens.

    At the bottom of the Advanced Compiler Settings dialog box, check the Client-only Framework subset check box.

  3. In Solution Explorer, double-click app.config.

    The new app.config file opens in the XML editor.

    The sku attribute has been added to the <supportedRuntime> element.

    <startup>
    <supportedRuntime version="v2.0.50727" sku="Client"/>
    </startup>
    

    For more information, see <supportedRuntime> Element

  4. To deploy the application by using Windows Installer, see Walkthrough: Deploying a .NET Framework Client Profile Application by using Windows Installer. To deploy the application by using ClickOnce, see Walkthrough: Deploying a .NET Framework Client Profile Application by using ClickOnce

Date

History

Reason

July 2008

Added new topic.

SP1 feature change.

Community Additions

ADD
Show:
© 2014 Microsoft