I am using VS2008 SP1 ClickOnce Deployment to deploy an application. The application references a web service which stores connection details in the app.config file. For example, the following is stored:
<client>
<endpoint address="http://someservice.com/someservice" binding="customBinding" bindingConfiguration="ServiceSoapBinding" contract="AService.AService" name="AServicePort" behaviorConfiguration="endPointBehavior"/>
</client>
I need to be able to verify the value of this end point address on the deployed application. I have full access each of the deployed files on the server but I don’t see a reference to any of the app.config entries.
Where are app.config settings stored in the published data and how can I access them?
Kind Regards,
F.
Source
It’s name is
app.exe.config.deployand its located in the top folder where you deploy under the Application Files folder under the version folder.For example if your app is deployed to “
C:\App” then it will be located on “C:\App\Application Files\DirectoryPerVersion\ProjectName.exe.config.deploy“