Questions tagged [system-codedom-compiler]

36 questions
0
votes
1 answer

Roslyn compiler looking in wrong bin folder for vbc.exe

Am really liking the new VB14 language features in VS2015 (like ?. notation and string interpolation). In our WinForms (.Net 4.5) application I use codedom compiler to run dynamic reporting code on the fly. Unfortunately this does not automatically…
0
votes
1 answer

.Net 3.5 CodeDom Compiler generating odd errors

This is a far stretch but i am going to try an explain the issue as best as possible. I am using the CodeDom Compiler in .Net 3.5 to compile 3 cs files...2 of which were generated from Edmgen.exe and 1 is a dynamicly generated file. The compile code…
0
votes
1 answer

Compile a non-commandline application using CodeDomProvider?

I've written this simple function to automate the compilation of a single exe assembly with an embedded resource: Public Shared Function CompileAssembly(ByVal codeProvider As CodeDomProvider, ByVal isExecutable As…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
0
votes
1 answer

Is it possible to get a stream for an assembly generated in memory using CodeDOM?

In some of my tests I need to generate some assemblies and then "decompile" them using ICSharpCode.Decompiler which uses Mono.Cecil to inspect assemblies. For performance reasons I'd like to generate the assembly in memory to avoid disk I/O. Bellow…
Vagaus
  • 4,174
  • 20
  • 31
0
votes
1 answer

Using CodeDOM to source code and class file togther

i have created a form for a codeDOM compiler and it can compile my code if its in a single text file but i want to be able to compile the source code in the text file and a class thats in a text file so they can work together. I am unsure how to…
Chris Devine
  • 3,859
  • 2
  • 13
  • 7
0
votes
1 answer

Refer custom class in the Auto generated class?

I've two classes that I am trying to generate code using CodeDom. First class (StudentModel), pretty straight forward, I am able to generate using CodeDom. In the second class, i.e. Student class, I am trying refer StudentModel class. StudentModel…
Naveen
  • 315
  • 2
  • 4
  • 15
1 2
3