Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Configuration File Settings for the .NET Compact Framework

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 09-06-2009
Member
 
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.....

Reply With Quote
  #2  
Old 09-06-2009
Member
 
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.
Reply With Quote
  #3  
Old 09-06-2009
Member
 
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.
Reply With Quote
  #4  
Old 10-06-2009
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Configuration File Settings for the .NET Compact Framework"
Thread Thread Starter Forum Replies Last Post
Game Settings / Display Configuration / Keyboard Configuration Tips for fifa 11 Ninja-X Video Games 3 22-10-2010 04:46 AM
Compact or Shrink down excel file Visala Windows Software 3 28-07-2009 05:21 PM
How to set and hide the Datagrid column in Compact Framework Balgovind Windows Software 2 09-06-2009 08:11 PM
.net Compact Framework autosize textbox Avanindra Software Development 2 04-06-2009 07:24 PM
Finding .NET Framework Configuration Tool in .NET SDK (Mscorcfg.msc) ArunJ Software Development 3 09-02-2009 05:09 PM


All times are GMT +5.5. The time now is 06:27 AM.