Running an executable pre and post compilation in VS.NET (2003)
Running an executable pre and post compilation in VS.NET (2003)
am 25.10.2007 06:30:16 von 50295
Hi -
I'm writing a plugin with VS.NET (2003), for an application (Autodesk
Maya). My work cycle is basically:
1. write code
2. unload plugin in target application (where I do my testing)
3. compile plugin
4. load plugin in external application (bash head against table when
plugin does not work)
The external application has a command that allows an external
application to give it any command -- including unloading a plugin.
I'd like to have VS.NET run a small executable that does step 2
(before compilation) and step 3 (after compilation).
Can VS.NET run an executable pre-post compilation?
Thanks,
- Olumide
PS: laziness (the good kind) is the mother of invention :-)
Re: Running an executable pre and post compilation in VS.NET (2003)
am 25.10.2007 07:04:29 von mattias.dont.want.spam
>Can VS.NET run an executable pre-post compilation?
Sure. You can configure it in the project properties dialog.
Mattias
--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Re: Running an executable pre and post compilation in VS.NET (2003)
am 25.10.2007 23:25:06 von 50295
On 25 Oct, 06:04, Mattias Sjögren
wrote:
> >Can VS.NET run an executable pre-post compilation?
>
> Sure. You can configure it in the project properties dialog.
Thanks. I see that would be done in Build -> Pre-build Event | Post-
Build Event ....
Re: Running an executable pre and post compilation in VS.NET (2003)
am 26.10.2007 17:24:00 von 50295
On 25 Oct, 22:25, Olumide <50...@web.de> wrote:
> Thanks. I see that would be done in Build -> Pre-build Event | Post-
> Build Event ....
I sometimes get the Project Build Error PRJ0019, and a dialog with the
message " is not a valid Win32 application" or something
like that -- although this my_program runs in the command window.
Re: Running an executable pre and post compilation in VS.NET (2003)
am 29.10.2007 05:58:22 von Andrew Faust
Do you have spaces in the paths to any of the stuff you are running? If so
you need to put quotes around the paths just like you would at the command
line,
--
Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com
"Olumide" <50295@web.de> wrote in message
news:1193412240.330253.170910@z9g2000hsf.googlegroups.com...
> On 25 Oct, 22:25, Olumide <50...@web.de> wrote:
>> Thanks. I see that would be done in Build -> Pre-build Event | Post-
>> Build Event ....
>
> I sometimes get the Project Build Error PRJ0019, and a dialog with the
> message " is not a valid Win32 application" or something
> like that -- although this my_program runs in the command window.
>