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. 2 1866
Thank you.
Vitaliy
OAS Software Corp.
"Tommy Williams [MSFT]" <to****@online.microsoft.com> wrote in message
news:04****************************@phx.gbl... 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 isimplemented as an independent application. The generated code (which isreally a block of code containing 4-5 procedures enclosed in #Region/#EndRegion tags) sits in a .txt file and we manually copy and paste/replace thecode in our application project files. We would prefer to totally automatethe insertion/replacement process. For this to happen, it seems that I willneed to tap into extensibility object model that VS.NET environment providesand package the code generator as an Add-In. Unfortunately, I so far havefailed to find a complete example of how to develop such a component. VS'shelp information is too brief to find it useful.
Thanks for any suggestions anyone may have,
Vitaliy OAS Software Corp.
.
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" <vk****@oasvas.com> wrote in message
news:ey**************@TK2MSFTNGP11.phx.gbl... 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.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Snah |
last post by:
Hi,
Does anyone knows a code generator for Php ?
Actions to do: specifiy a mysql table and their fields, and build a default
webpage which allows to add,update,delete,search, browse, print the...
|
by: chansky |
last post by:
I read the following link about generator:
http://www.python.org/peps/pep-0255.html
but I am still not so clear on the use/purpose of a generator function
other than the fact that a generator can...
|
by: Andrae Muys |
last post by:
Found myself needing serialised access to a shared generator from
multiple threads. Came up with the following
def serialise(gen):
lock = threading.Lock()
while 1:
lock.acquire()
try:
next...
|
by: Mahesh Padmanabhan |
last post by:
Hi,
When list comprehension was added to the language, I had a lot of
trouble understanding it but now that I am familiar with it, I am not
sure how I programmed in Python without it.
Now I...
|
by: Mike Meyer |
last post by:
Ok, we've added list comprehensions to the language, and seen that
they were good. We've added generator expressions to the language, and
seen that they were good as well.
I'm left a bit...
|
by: Thomas Lotze |
last post by:
Hi,
I'm trying to figure out what is the most pythonic way to interact with
a generator.
The task I'm trying to accomplish is writing a PDF tokenizer, and I want
to implement it as a Python...
|
by: DrSarang |
last post by:
While building XmlSampleGenerator code from MSDN, I get missing XmlSchemaSet
reference. Here is the screen dump, if needed.
C:\Documents and Settings\Dr Sarang\My Documents\MSDN\XML Sample...
|
by: UnixSlaxer |
last post by:
Hello,
- Is any body aware of a random workload/query generator such as the
TPC-H query generator (QGEN) ? I am looking for a query generator that
takes a schema as an input, and produces...
|
by: John Salerno |
last post by:
Ok, I wrote this all by myself, which explains why it doesn't work. It
is meant to take a number and generate the next number that follows
according to the Morris sequence. It works for a single...
|
by: aomighty |
last post by:
I'm creating a program to calculate all primes numbers in a range of 0
to n, where n is whatever the user wants it to be. I've worked out the
algorithm and it works perfectly and is pretty fast,...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |