Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET4
Migration to .Net 4.0 – Appconfig setting changed
 
I migrating the .NET 1.1 windows projects to .Net 4.0, some new tags are added in my app.config file,
 
For more clarity i brief here,
In older version, We are configuring the values via, appSettings in app.config file i.e., "WinTester3.TTService.Service"
<appSettings>
 
     <add key="WinTester3.TTService.Service" value="http://dfo.emirates.com/tickertapeservice/service.asmx" />
 
 </appSettings>
 

But after migration new config section i.e applicationSettings is created and needs to configured same value is once again.
 
<configSections>
 
      <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
 
        <section name="WinTester3.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
 
      </sectionGroup>
 
    </configSections>
 

 
  <applicationSettings>
 
    <WinTester3.Properties.Settings>
 
      <setting name="WinTester3_TTService_Service" serializeAs="String">
 
        <value>[VALUE]</value>
 
      </setting>
 
    </WinTester3.Properties.Settings>
 
  </applicationSettings>
 

 
Why this is created, Need your valuable comments.
Posted 29-Apr-13 20:08pm
Edited 30-Apr-13 21:55pm
v5
Comments
Manfred R. Bihy at 30-Apr-13 1:46am
   
There is not much information to go on. "Code: XXX" means what?
Please ask a specific question. This is question is absolutely unintelligible as it currently stands.
manikandan711 at 30-Apr-13 2:05am
   
Thank for your reply..
 
Xml is missed and now i updated..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 562
1 Sergey Alexandrovich Kryukov 484
2 Maciej Los 325
3 DamithSL 233
4 Mathew Soji 195
0 OriginalGriff 7,168
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,461
3 Manas Bhardwaj 4,876
4 Maciej Los 4,450


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 1 May 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100