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 1871
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: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |