Reputation: 568
I have a project that I use to convert an input text file to css. I want to run this project every time I run my MVC project so it generates the newest css file.
I know that I can run a Task in BeforeBuild to achieve this, but it requires that I link to the dll file for my project. (This is a problem because if I use a dll file, then I would have to manually update the dll file
Is there a way I can build and run my first project, then launch MVC?
Upvotes: 1
Views: 162
Reputation: 6607
Right click the MVC project in the solution and select Project Dependencies
, then check the project that you want to be built first
That will make sure that the dependency project builds first.
Then right click on Solution, select Properties and select Multiple startup projects in order to run two projects
Upvotes: 2