0

When I Build an application, an .xml file is generated in the build path having a same name as my application executable.

I opened the xml file and found it contains the lines from app.config which I wrote.

why is this so? how can I embed app.config in my application? Actually if I donot copy the xml file in the deployment my application does not open crystal reports and application halts.

content of app.config which I wrote :

<!--<startup useLegacyV2RuntimeActivationPolicy="true">


  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>-->

  <startup useLegacyV2RuntimeActivationPolicy="true">

  <supportedRuntime version="v4.0"/></startup>

Please Let me know how can app.config embedded in the executable!

4

0 回答 0