In order to \"populate\" a CodeDom class I can create a new field which allows me to generate random names for strings, bytes, etc. I then created a new method within my class via CodeDom but I am hav
I am attempting to create the following code through the use of CodeDom: public partial class mainClass
My goal: To create a windows form application (executable) through the use of CodeDom. By this I mean I would like a form (with some code behind the form) and turn it into an executable file (as if I
I want to open an existing VB class file, add a few properties and close it again. Simple enough, I thought: Take the CodeDom, a VBCodeProvider, parse the code (using the Parse-method), then identif
What options do I have for generating class definitions for LINQ-to-SQL and Entity Framework context and data entity objects?I understand how to use the Visua开发者_StackOverflowl Studio tools, but is
I\'m writing a tool that generates C# code, and am writing unit tests to go with it. One of the tests I want to do is to run the tool and compile the results, so I can examine the assembly with refle
I am looking to parse managed C++ files into a CodeDOM tree (or any other c# representation, for that matter). I see that CppCodeGenerator has been removed in .NET4, and it does not provide a Parse(st
I\'m trying to create an extension method using CodeDOM. There doesn\'t seem to be any support for them and using ExtensionAttribute (which C# uses internally to mark extension methods) is not allowed
I\'m using CodeDom to generate code to be compiled later, and I\'ve noticed that certain constructs create extra sets of parentheses. While I know they don\'t affect anything, they do look strange.
You can run my source as an example http://www.pastie.org/1969780 I essentially took this and played around with it http://msdn.microsoft.com/en-us/library/ms404245.aspx