Publishing problem or false error messages?
am 03.01.2008 19:51:03 von BChernickI have not tried this before. I have been building an ASP.Net 2.0 app for
some weeks now and up till now I have not had any problems publishing.
I was given a Word doc to include in the app. I converted the doc to html
and copied it to the project's directory. I also copied the page's _files
directory with all the associated graphics files. I included the html, the
directory and all the files into the project. I set the Build Action
property of all image files and the html file to Content and the Copy To
Output directory property to Copy Always (also tried Copy if Newer). On the
publish popup I always select ' Delete all existing files prior to publish'
and 'Copy all Project Files'.
The html page displays correctly but I'm getting publish error messages like
this for most of the image files every time: Unable to add 'bin/Power
Products Project Application Users Guide Rev 2_files/image035.jpg' to the
Web. Server error: A page with the name bin/Power Products Project
Application Users Guide Rev 2_files/image035.jpg already exists. It was last
modified by AMERICAS\USBOCHE on 03 Jan 2008 12:27:51 -0500.
What am I forgetting? What is the best way to include an html page and it's
image files?
(I tried publishing to a new location and had the same problem. Could this
setup somehow be trying to publish the same image files twice?)