In the "Other projects" category in VS, there's an add-in project type that
will get you started.
--
Eric Gunnerson
Visit the C# product team at
http://www.csharp.net
Eric's blog is at
http://blogs.gotdotnet.com/ericgu/
This posting is provided "AS IS" with no warranties, and confers no rights.
"Vitaliy" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello there,
>
> I have written a code generator for our internal use. Right now it is
> implemented as an independent application. The generated code (which is
> really a block of code containing 4-5 procedures enclosed in #Region/#End
> Region tags) sits in a .txt file and we manually copy and paste/replace
the
> code in our application project files. We would prefer to totally
automate
> the insertion/replacement process. For this to happen, it seems that I
will
> need to tap into extensibility object model that VS.NET environment
provides
> and package the code generator as an Add-In. Unfortunately, I so far have
> failed to find a complete example of how to develop such a component.
VS's
> help information is too brief to find it useful.
>
> Thanks for any suggestions anyone may have,
>
> Vitaliy
> OAS Software Corp.
>
>