Open GoogleCodeExporter opened 9 years ago
If you are automating (rather than using the IDE), I would be very tempted to
simply use `protogen` at the command line - is this an option?
Original comment by marc.gravell
on 10 Jul 2010 at 10:01
Yes, at the moment I am just using the custom tool within the IDE am checking
the compiled .cs files into version control.
However, I'd like not to have to do this, as it defeats the purpose of catching
incompatible updates on the build server, e.g. when a new message is added to
the server application.
So I was initially wondering if the VS add in could be invoked by msbuild and
have the build work transparently across normal VS development and continuous
integration builds on TeamCity.
However, if invoking protogen from the command line is easier, I'm wondering if
there is a target you can set in the csproj file that will generate the .cs for
you in the correct place, and VS would just execute this for you whenever you
loaded or built the project from within the IDE.
If the latter works well, it seems like the best option, but OTOH, it also
seems like it defeats the purpose of the custom tool, because it would be as if
the custom tool is just for projects that you are building by yourself, rather
than as part of a development team, or am I missing the point?
I was thinking about
Original comment by 0x6e6...@gmail.com
on 12 Jul 2010 at 5:02
Simply; I'm not an MSBuild wizard. If you know how to make that work, I'm all
ears...
Original comment by marc.gravell
on 13 Jul 2010 at 12:38
Original issue reported on code.google.com by
0x6e6...@gmail.com
on 9 Jul 2010 at 9:48