How to: Manage Application Settings in LightSwitch

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

In Visual Studio LightSwitch, you can manage settings that apply to the application instead of an individual screen or entity. You manage these settings in the Application Designer, which contains tabs on which you can set general, extensions, access control, and SharePoint properties.

This topic covers settings on the General Properties tab. For information about settings on other tabs, see Managing Settings in LightSwitch.

Note

For desktop client projects, client-specific application settings appear on the Client Properties tab, which you access by choosing the Edit Client properties link on the General Properties tab.

You can manage the following settings on the General Properties tab:

Setting Description
Application version Specifies a major and minor version number for the application. The default value of this setting is 1.0. The maximum version number is 65334.9999.
SQL Database Project Specifies the SQL Database project to associate with the application. You can use the project to manage the intrinsic database and specify scripts that run before, during, and after deployment (for example, to populate a table during deployment).
Default Language Specifies a default localization culture for the application. The default value of this setting is the culture of the development computer.

See Walkthrough: Localizing a LightSwitch Application.

To change the application version

  1. In Solution Explorer, expand the top-level project node and open the shortcut menu for the Properties node, and then choose Open.

  2. In the Application Designer, choose the General Properties tab.

  3. In the Application version field, enter a major version number in the first text box, and then enter a minor version number in the second text box.

    You must specify an integer between 0 and 65534.

To change the culture

  1. In Solution Explorer, expand the top-level project node and open the shortcut menu for the Properties node, and then choose Open.

  2. In the Application Designer, choose the General Properties tab.

  3. In the Culture or Default Language list, choose the culture that you want to use as the default culture.

See Also

How to: Manage Project Settings
How to: Add or Remove Extensions
Walkthrough: Localizing a LightSwitch Application