I have a simple web application built with several DLL files created in other projects in the same solution. These dll files access some text, xml files or other information. These items have their Copy to Output Directory property to define Copy Always. When I created the web application, everything is ever present in the "bin" output directory and everything is fine.
However, when I publish the same application on the server with the installation of "deployment on the Internet", my XML, txt files are NOT copied to the server. All other files are fully backed up. Can someone tell me why all these files are not included in the “click once” and why all the output of “bin” is not published?
I am using Visual Studio 2010 and setting “Items to Deploy” to “Package / Publish on the Internet” is defined as “Only files needed to run this application”?
Thanks for any answer,
Ben
source
share