codedom
Want to use COM dll file on deployed machines without registering dll files
I will make this very simple, as it can get quite confusing very quickly. I have a COM dll (made in VB6) tha开发者_开发技巧t I would like to be able to use through my C# application. Below are the ste[详细]
2023-04-12 07:31 分类:问答CodeDom Reference VB6 dll
I have had no problems adding .dll files (generated from Visual Studio) to a CodeDom generated executable file. To do so, I have been using the following code:[详细]
2023-04-10 18:28 分类:问答How to use CodeDOM's CodeMemberProperty to generate DebuggerStepThrough attribute for a property getter or setter
How can I generate a DebuggerStepThroughAttribute over a getter/setter with CodeDOM? This question follows from MSDN documentation a开发者_如何学JAVAnd a question on StackOverflow.CodeMemberProperty\[详细]
2023-04-08 02:28 分类:问答Are there libraries that convert from Expression trees or CodeDOM to Reflection.Emit?
I found an interesting library that converts expression trees to CodeDOM. I 开发者_如何学Pythonam wondering if there are any libraries that convert from Expressions trees or CodeDOM objects to Reflect[详细]
2023-04-02 09:06 分类:问答Add #if/#endif directives to DataContract attribute on CodeTypeDefinition of generated class
I\'m working with an XSD -> C# class parser which generates classes for our data model, which is to be shared between a WPF client and a Silverlight web-based portion.[详细]
2023-04-02 01:56 分类:问答Codedom generate complex if statement
I\'m a bit stuck with try to generate a complex if statement like the one below if (class1.Property == class2.Property || (class3.Property && class4.Property))[详细]
2023-04-01 15:18 分类:问答How do I select the target framework of a CodeDom compiler using C#?
So I have a CodeDOM compiler written in C# that\'s supposed to compile another application based on one of its resources. How would I change the target .NET framework of the resource (or of the output[详细]
2023-04-01 11:00 分类:问答CompilerParameters.GenerateInMemory
Hi i want to compile a class at runtime using CodeDom and generate in memory. How do i go about running the compiled code from memory?[详细]
2023-03-31 08:59 分类:问答CodeDOM question
How to create: internal struct StructNam开发者_如何学运维e { public static byte[] Code = new byte[][详细]
2023-03-28 00:37 分类:问答C# CodeDom Add embedded resource without first dropping file to disk
In CodeDom, it is possible to add an embedded resource to your dynamically created file by using the CompilerParameters.EmbeddedResources property. In my project, I am adding some bytes of data as an[详细]
2023-03-27 17:32 分类:问答