Click here to Skip to main content
15,889,834 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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,

XML
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
Updated 30-Apr-13 20:55pm
v5
Comments
Manfred Rudolf Bihy 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 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900