I want to embed the manifest and the application config file into the exe. Does anyone know the best way to do this? I see it used this way all the time.
Thanks in advance
View Complete Post
I am trying to put the namespace value as a key in web.config file, so that when I deploy this on production, I just have to change the namespace key in the config file only, not on all of my webservice cs files. But When I try to browse this webservice after changing this code I get compilation error.
<add key="NameSpace" value="http://csi-dev-deep/"/>
MyWebService.cs (this code works)
[WebService(Namespace = "http://csi-dev-deep/")]
MyWebService.cs code changed to the following gives compilation error.[WebService(Namespace = ConfigurationManager.AppSettings["NameSpace"].ToString())]
[WebService(Namespace = ConfigurationManager.AppSettings["NameSpace"].ToString())]
Compiler Error Message: CS0182: An attribute argument must be a constant
expression, typeof expression or array creation expression of an attribute
Your help is highly appreciated.