Top "Codedom" questions

CodeDOM is a framework which can be used to create an (abstract) expression tree representing real code structures (for example, classes, statements, etc.

Microsoft Roslyn vs. CodeDom

From a press release yesterday on InfoWorld regarding the new Microsoft Roslyn: The most obvious advantage of this kind of "…

.net codedom roslyn
How to Read an embedded resource as array of bytes without writing it to disk?

In my application I compile another program from source.cs file using CodeDom.Compiler and I embed some resources ( exe …

c# .net embedded-resource codedom system-codedom-compiler
What exactly does <system.codedom>/<compilers> do in web.config in MVC 5?

I am about to migrate a bunch of projects from .NET 4.0 + MVC 3 to .NET 4.5.2 + MVC5. To make this easier, I've …

.net asp.net-mvc asp.net-mvc-5 web-config codedom
Execute JavaScript from within a C# assembly

I'd like to execute JavaScript code from within a C# assembly and have the results of the JavaScript code returned …

c# .net javascript unit-testing codedom
Reflection.Emit vs CodeDOM

What are some pros/cons for using the Reflection.Emit library versus CodeDOM for dynamically generating code at runtime? I …

c# .net code-generation reflection.emit codedom
Using C# 6 features with CodeDomProvider (Roslyn)

CodeDomProvider objCodeCompiler = CodeDomProvider.CreateProvider( "CSharp" ); CompilerParameters objCompilerParameters = new CompilerParameters(); ... CompilerResults objCompileResults = objCodeCompiler.CompileAssemblyFromFile( objCompilerParameters, files.ToArray() ); When I compile my …

c# .net roslyn string-interpolation codedom
ASP.NET CodeDom provider could not be located error

I'm facing an ASP.NET error while deploying on a server: The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, …

c# asp.net codedom
Is the VC++ code DOM accessible from VS addons?

Visual Studio IntelliSense for VC++ includes the "complete" EDG C++ parser (also used by Intel and others). Since the C# …

.net visual-studio visual-c++ c++-cli codedom
Load VB.net code from .txt file and execute it on fly using System.CodeDom.Compiler

I have found answer to this question already in this post : https://stackoverflow.com/a/14711110/1764912 But my next query is, …

vb.net codedom
Work-around for C# CodeDom causing stack-overflow (CS1647) in csc.exe?

I've got a situation where I need to generate a class with a large string const. Code outside of my …

c# compiler-construction codedom csc