CodeDom and Visual Studio IDE

G

Guillaume

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!
 
P

Pete Davis

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top