Suppose we have a solution with three projects:
DownloadDataBaseis a console application that downloads data from web and creates asqlitedb fileTestis the main windows from application that uses the downloadedsqlitedatabase.TestLibraryis a class library that is referenced by the Test project.
I know How I can reorder the build of these three projects using Configuration Manager from build menu. But The main question is : How can I customize build process of the solution so that:
- It first builds the
DownloadDataBase - Then executes this console application
DownloadDataBase - After that copy the created
sqlitefile from the last step to the resource directory of theTestProject - And Finally builds the
Testproject using the updatedsqlitefile?
Therefore every time that I build the new release I will have the latest data needed by my application.
Thanks for any help
