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 1867
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: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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,...
| |