Results 1 to 4 of 4

Thread: Configuration File Settings for the .NET Compact Framework

  1. #1
    Join Date
    Feb 2009
    Posts
    34

    Configuration File Settings for the .NET Compact Framework

    hi friends,

    I want the information regarding the configuration file settings in the .net compact framework. Can anybody please provide me the necessary info regarding the same......

    thank you.....

  2. #2
    Join Date
    Apr 2008
    Posts
    4,642

    Re: Configuration File Settings for the .NET Compact Framework

    The .NET Compact Framework supports a subset of the configuration file settings that are supported on the desktop. The configuration file settings can be included in the application configuration file or in the device configuration file.

    When present, the application configuration file must be in the same folder as the application executable itself, and must conform to the following naming convention: applicationname.exe.config. This file controls the configuration of the application.

    When present, the device configuration file must be named device.config and stored in the \Windows directory. This file controls the configuration of the device.

    The values you set in the device configuration file are global and apply to all applications. However, if you include a corresponding element in an application configuration file, its value overrides the value in the device configuration file.

  3. #3
    Join Date
    Apr 2008
    Posts
    4,642

    Re: Configuration File Settings for the .NET Compact Framework

    The following are the supported configuration file settings.

    Element - <supportedRuntime>
    Definition - Specifies the runtime version of the .NET Compact Framework for the application or device to use. For example, you can force an application that was built with the .NET Compact Framework version 1.0 to run on a device that was installed with the .NET Compact Framework 2.0.
    Note: You can also programmatically use an Environment object to determine the runtime version.

    Application configuration support - 2.0
    Device configuration support - 3.5

    -------------------------------------------------------

    Element - <bindingRedirect>
    Definition - Specifies the assembly version to which an application binds, which might be a newer or older assembly against which an application is built.

    Application configuration support - 2.0
    Device configuration support - 2.0 SP2

    -------------------------------------------------------

    Element - <compatibilityVersion>
    Definition - Specifies the compatibility mode for the application to use. When you use this element, the runtime invokes behavior from a specified version of the runtime. By default, the compatibility mode for an application is set to the version of the .NET Compact Framework with which it was built. In most scenarios, this setting is used only for diagnostic purposes. This element is supported only on the .NET Compact Framework.

    Application configuration support - 2.0
    Device configuration support - Not supported.

  4. #4
    Join Date
    Jun 2009
    Location
    US california
    Posts
    1

    Re: Configuration File Settings for the .NET Compact Framework

    If you have installed Visual Studio on your computer, you can begin to develop and deploy applications using the .NET Compact Framework. Smart Device applications in Visual Studio use the .NET Compact Framework.

    Some devices come with .NET Compact Framework installed in ROM. On other devices, the .NET Compact Framework must be installed to RAM. To see what version of the .NET Compact Framework is installed in ROM, see Devices and Platforms Supported by the .NET Compact Framework, and go the section on ROM Versions. If the .NET Compact Framework is installed in ROM on your device, but you need to develop for a more recent version, you can install the software to RAM.

    If you have installed Visual Studio on your computer, you can install the .NET Compact Framework to RAM in two ways:

    *

    Install the software when you deploy your project.
    *

    Install the software using Windows Explorer.

    For more information about using these methods, see How to: Install the .NET Compact Framework on a Device.

    If you installed the Windows Software Development Kit (SDK) without Visual Studio, you must run a setup wizard to install the .NET Compact Framework assemblies and development files on your desktop computer and then install the .NET Compact Framework on your device to run your applications.

    If the .NET Compact Framework has not yet been installed on your desktop computer, you can obtain the software from the .NET Compact Framework downloads page.

Similar Threads

  1. Replies: 3
    Last Post: 22-10-2010, 04:46 AM
  2. Compact or Shrink down excel file
    By Visala in forum Windows Software
    Replies: 3
    Last Post: 28-07-2009, 05:21 PM
  3. How to set and hide the Datagrid column in Compact Framework
    By Balgovind in forum Windows Software
    Replies: 2
    Last Post: 09-06-2009, 08:11 PM
  4. .net Compact Framework autosize textbox
    By Avanindra in forum Software Development
    Replies: 2
    Last Post: 04-06-2009, 07:24 PM
  5. Replies: 3
    Last Post: 09-02-2009, 06:09 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,303,480.42410 seconds with 17 queries