I have some files setup to copy to the output directory on build. When I do a build the files are copied as expected. If I check the build log I can see the file being moves from the specific project it lives in to the web project bin folder.
Copying file from "C:\Users\myUser\Source\Repos\MySolution\MyProject\Scripts\SomeScript.sql" to "bin\Scripts\SomeScript.sql".
For some reason though as soon as I click "Run" the bin folder gets cleared out, and on this build the files are not copied to the bin folder.
What could be the difference between a build and a run that would cause the files not be copied during a run?