MVC Published: Failed to file bin \ Copy xxx.xml to obj \ Release \ PackageTmp \ bin \ xxx.xml, the file could not be found

Before writing a good project, you can publish, and then publish today MVC project, has been an error, reported the following error

 

Somehow engage in a long time, I never found a reasonable solution, the result can only messing around.
Suddenly remembered a few days Fanjian the bin file in the project root folder, and obj folders included in the project before me ....

 

 

Finally, these two removed from the project, on the line

Guess you like

Origin www.cnblogs.com/Fooo/p/12038558.html