I have a CS project that depends on some archive files and I have created MSBuild targets to build them. I cannot, however, get MSBuild to build these targets if project's files are up to date.
I have tried referencing the archive targets in the following places:
- The project's before and after build targets
- The project's InitialTarget and DefaultTarget attributes
- In a separate targets file, which I tried to add as a project reference to my project. I'm not sure I used the item correctly though.
When I build, Visual Studio tells me that my project is up to date and does nothing. How can I make it consider my other targets as dependencies?