473,394 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

CodeDom and Visual Studio IDE

I don't think I'm the only one with this challenge so…
I made code with the CodeDom classes and made code to create a new
solution and a new project
Now I want to get the codedom code in the new created IDE instance
How can do that?
Is there a way to paste the string (CodeDom output) into a class?
Out is the a way to insert the created CodeDom instance into the IDE
I've seen something like the CodeModel which looks like a different
version of CodeDom with a different purpose.
And I don't think that everybody who use CodeDom paste all the
generated code by hand

Is there somebody out there to help?
Thanks!
Nov 15 '05 #1
2 2341
If you're building an addin for VS.NET, you should be using FileCodeModel to
generate code, not CodeModel. I believe.

If you are building an adding for VS.NET, I think you'll find a lot more
help here: http://groups.yahoo.com/group/vsnetaddin/

The vsnetaddin group is trolled by two of the developers responsible for the
addin architecture used in VS.NET and there are a bunch of other people and
resources (sample code, knowledge base, bug lists, etc) you won't find
anywhere else. You'll also probably find a good explanation for why to use
FileCodeModel instead of CodeModel somewhere in the past messages.

--
http://www.petedavis.net

"Guillaume" <em***@tip.nl> wrote in message
news:a6**************************@posting.google.c om...
I don't think I'm the only one with this challenge so.
I made code with the CodeDom classes and made code to create a new
solution and a new project
Now I want to get the codedom code in the new created IDE instance
How can do that?
Is there a way to paste the string (CodeDom output) into a class?
Out is the a way to insert the created CodeDom instance into the IDE
I've seen something like the CodeModel which looks like a different
version of CodeDom with a different purpose.
And I don't think that everybody who use CodeDom paste all the
generated code by hand

Is there somebody out there to help?
Thanks!

Nov 15 '05 #2
If you're building an addin for VS.NET, you should be using FileCodeModel to
generate code, not CodeModel. I believe.

If you are building an adding for VS.NET, I think you'll find a lot more
help here: http://groups.yahoo.com/group/vsnetaddin/

The vsnetaddin group is trolled by two of the developers responsible for the
addin architecture used in VS.NET and there are a bunch of other people and
resources (sample code, knowledge base, bug lists, etc) you won't find
anywhere else. You'll also probably find a good explanation for why to use
FileCodeModel instead of CodeModel somewhere in the past messages.

--
http://www.petedavis.net

"Guillaume" <em***@tip.nl> wrote in message
news:a6**************************@posting.google.c om...
I don't think I'm the only one with this challenge so.
I made code with the CodeDom classes and made code to create a new
solution and a new project
Now I want to get the codedom code in the new created IDE instance
How can do that?
Is there a way to paste the string (CodeDom output) into a class?
Out is the a way to insert the created CodeDom instance into the IDE
I've seen something like the CodeModel which looks like a different
version of CodeDom with a different purpose.
And I don't think that everybody who use CodeDom paste all the
generated code by hand

Is there somebody out there to help?
Thanks!

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ron Bullman | last post by:
Hi, I havent been able to find any documentation about @ in the CodeDom context. The problem is when generating C# code from CodeDom it will associate a @-tag with all C# specific types. Why?...
0
by: MikeG | last post by:
Hi, I am using codeDom to dynamically produce code objects and would like to extend this to produce aspx page to exploit these and would like advice on the best approach. I currently produce...
1
by: John Livermore | last post by:
Hello, We have an application that uses CodeDom for dynamic in-memory compilation of code. The same code (library) is used by both an ASP.net web site and a Windows Service. The code runs fine...
3
by: jack | last post by:
Trying to make a utility that - Reads a VB.Net source file - Parses it into it's constuent parts - Evaluates and modifies as required - Saves the source I thought that the CodeDom and the...
9
by: lee.chappers | last post by:
How can I make the CodeDom generate the following C# method? protected sealed override void Test() { } I've tried using: domMethod.Attributes = MemberAttributes.Override |...
6
by: moondaddy | last post by:
will CodeDom create XAML windows or just regular windows forms? If so, how to I tell it to create a xaml window instead of a windows form? thanks -- moondaddy@noemail.noemail
0
by: deostroll | last post by:
It is said that you can generate ASP.NET code. Can you clarify this statement. I don't see how you can do this? ASP.NET apps come in 2 parts - the code file and html page. The code file contains...
2
by: CodeMonkey775 | last post by:
I'm having problems passing a variable to a method which is executed and compiled using CodeDom. The situation is I have a List<CellData> with cells, each containing a formula (like Excel). I am...
1
by: =?Utf-8?B?QU1lcmNlcg==?= | last post by:
I may have painted myself into a corner with GenerateInMemory=true. My app need a custom user step. Users want to code (sort of - they are not programmers) some refinements to a search...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
0
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...
0
tracyyun
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.