Code: Select all
for %I in "$(OutputDirectory)Agency-onboarding.pdf" do copy %I "$(ProjectDirectory)Content\Resources\PDFs"
Code: Select all
for %I in "$(OutputDirectory)Agency-onboarding.pdf" do copy %I "$(ProjectDirectory)Content\Resources\PDFs"
You can set up a destination that's inside your project content folder. Flare does warn you about the dangers of this, but does not stop you doing it. So that'd work fine.LauraM wrote:Nita, yes I'm investigating that option right now. I can create a publish destination for the PDF folder for my batch target. However, is there a problem within Flare if you publish inside the Content folder? I think I saw something about error messages regarding that.
I've no idea about that. I've not got into using build events very much because they are so poorly documented in the help. But a destination will definitely work, so just use that.LauraM wrote:If I can automate the process through a build event, I'd like to do that. Is it possible the build event isn't working because Flare won't allow things to be written to the Content folder?