Answer the question
In order to leave comments, you need to log in
How to execute some command in Visual Studio when the program starts? (but without a build)?
Such a problem: there are files with code for OpenCL that are compiled at runtime. Now at the Post-Build Event in the studio they are copied to the application folder and everything is almost fine.
Problem: but they are copied only if the project is being built, but if you just run the application, they are not copied. These files are excluded from the build, so even if there are changes in them, the studio does not build the project and the changed files are not copied.
Question: how to always copy files before launching the application, even if the project is not being built?
Clarifications: it is possible to build a project every launch (if you make some kind of dummy with a date, for example), but you don’t really want to.
I'm using MSVS2010
Thanks in advance for your help!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question