I am working on Visual Studio 2012 Express Edition. I added the App.config XML file as follows:
<?xml version="1.0" encoding="utf-8" ?> <configuration> </configuration>
The first thing that happens is a warning that says: "The Configuration item has not been declared." Does anyone know why this is happening? It seems that elements cannot be declared internally until this is resolved.
Thank!
This is all XML:
<?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="Version" value="779" /> <add key="TimeOut" value="60000" /> <add key="LogFileName" value="Log.txt" /> <add key="Environment.DevId" value="" /> <add key="Environment.AppId" value="" /> <add key="Environment.CertId" value="" /> <add key="Environment.ApiServerUrl" value="https://api.sandbox.ebay.com/wsapi" /> <add key="Environment.EpsServerUrl" value="https://api.sandbox.ebay.com/ws/api.dll" /> <add key="Environment.SignInUrl" value="https://signin.sandbox.ebay.com/ws/eBayISAPI.dll?SignIn" /> <add key="Environment.ViewItemUrl" value="http://cgi.sandbox.ebay.com/ws/eBayISAPI.dll?ViewItem&item={0}" /> <add key="UserAccount.ApiToken" value="" /> <add key="UserAccount.eBayUserSiteId" value="0" /> <add key="logexception" value="true"/> <add key="logmessages" value="true"/> <add key="logsdkmessages" value="true"/> <add key="logsdk" value="true"/> <add key="logfile" value="Log.txt"/> <add key="RuName" value=""/> <add key="Proxy.Host" value =""/> <add key="Proxy.Port" value =""/> <add key="Proxy.Username" value=""/> <add key="Proxy.Password" value=""/>
c # xml app-config
Giuseppe Sep 21 '12 at 3:50 2012-09-21 03:50
source share