Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
 How to: Configure a .NET Framework ...

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Developer's Guide
How to: Configure a .NET Framework Client Profile Application for Deployment

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker