Create another project using the pre-build event without adding a link

I copy the .exe file separate to my main project folder on prebuild, but I need to build this project before building my main project, so I want to build this project at the preliminary stage of my main project.

+7
source share
1 answer

Not that this was the best solution, but it will definitely work for what you want to do:

Put the below in the pre-build event

"$(VS100COMNTOOLS)..\IDE\devenv" "csproj location OR sln location" /Rebuild "configuration required if you have more than configuration ex: Debug|x64"

+7
source

All Articles