PC Review


Reply
Thread Tools Rate Thread

Code generator as a VS.NET Add-In

 
 
Vitaliy
Guest
Posts: n/a
 
      23rd Jul 2003
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.


 
Reply With Quote
 
 
 
 
Vitaliy
Guest
Posts: n/a
 
      24th Jul 2003
Thank you.

Vitaliy
OAS Software Corp.
"Tommy Williams [MSFT]" <(E-Mail Removed)> wrote in message
news:04f101c35157$e6cf5d60$(E-Mail Removed)...
> I can suggest two books that have been useful to me as I
> have been figuring out Add-ins: "Inside Visual
> Studio .NET 2003", published by MS Press, and "Mastering
> Visual Studio .NET", published by O'Reilly.
>
> There is also a Yahoo! group dedicated to extending
> Visual Studio .NET:
> http://groups.yahoo.com/group/vsnetaddin/
>
> This posting is provided "AS IS" with no warranties, and
> confers no rights.
>
> -- Tommy
>
> >-----Original Message-----
> >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.
> >
> >
> >.
> >



 
Reply With Quote
 
Eric Gunnerson [MS]
Guest
Posts: n/a
 
      26th Jul 2003
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.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# code generator hardieca@hotmail.com Microsoft C# .NET 7 11th Jan 2007 11:01 AM
Reference.map(1): Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No code generated. genc ymeri Microsoft ASP .NET 0 27th Apr 2006 04:28 PM
Reference.map(1): Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No code generated. genc ymeri Microsoft C# .NET 0 27th Apr 2006 04:28 PM
code generator Steph Microsoft Dot NET 0 9th Jun 2004 01:38 PM
Code Generator Me Microsoft VB .NET 4 24th Aug 2003 11:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:03 PM.