all groups > visual studio .net general > october 2007 >
You're in the

visual studio .net general

group:

Running an executable pre and post compilation in VS.NET (2003)


Running an executable pre and post compilation in VS.NET (2003) Olumide
10/24/2007 9:30:16 PM
visual studio .net general: 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) Mattias Sjögren
10/25/2007 12:00:00 AM
[quoted text, click to view]

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
AddThis Social Bookmark Button