I have 2 programs: One written in c++ and compile on MS visual studio 2010; The other written in C# and compile on MS visual studio 2010.
My second program automatically edit one of first projects file (.cpp), I want to know is there any way to auto compile my c++ code on file changed?
Thanks.
Yes, call
msbuild.E.g.
(Or Debug, if that’s what you’re building for)
Sounds like your tool would be better off written as an msbuild task though.