Tuesday, December 15, 2015

A simple and stupid way to solve can not copy file to bin folder when compiling the project in visual studio 2015


when i try to compile a project with HiQPdf dll being add to support the Pdf document manipulation,

i always got this annoying message. i can not use the rebuild function from visual studio. since the rebuild action will clear all the files in the Bin folder. I had to manually copy the dep file back to bin folder and then build the project.




since the rebuild action will delete all the file within the bin folder. after i set the file attribute to readonly, then the issue is gone. since the rebuilt can not delete the readonly file.




No comments:

Post a Comment