csharpcodeprovider Questions

8

Solved

I'm trying to compile the code below using CSharpCodeProvider. The file is successfully compiled, but when I click on the generated EXE file, I get an error (Windows is searching for a solution to ...
Narcotism asked 23/10, 2012 at 13:40

6

Solved

connected within this topic: How to connect string from my class to form im trying to do solutions related to their answers (specifically answer of sir Jeremy) but this error keeps on appearing ...
Vlaminck asked 28/2, 2013 at 7:52

1

I would like to use the Microsoft.CSharp.CSharpCodeProvider class to compile C# 7.3 code. The compiler version is specified in an IDictionary that is taken as input when a new CSharpCodeProvider is...
Cutin asked 8/5, 2018 at 19:28

1

I'm using the System.CodeDom features to compile code at run time and I wonder if I could specify a compiler parameter or other workaround to display the compiler errors in English language instead...
Primal asked 19/9, 2015 at 12:49

2

I have a simple query like below: var employeeTeam = Session.Query<EmployeeTeam>() .Where(x => x.StartEffective <= competency.FinalDate && // competency.FinalDate is a DateTim...
Auschwitz asked 29/1, 2016 at 16:5

5

Solved

I have a WPF C# application that contains a button. The code of the button click is written in separate text file which will be placed in the applications runtime directory. I want to execute t...
Bev asked 15/11, 2010 at 5:32

1

Solved

I'm trying to compile an assembly from my code with C# code provider. When I access the compiled assembly with compilerResult.CompiledAssembly, everything works. However, when I instead do Assembl...

4

Solved

I have a unique c# source file named source.cs that i compile using CSharpCodeProvider from a builder to get an executable. I would put an option on the builder whether to display the About form o...
Bushnell asked 7/8, 2012 at 22:22

1

Solved

I recently installed the Visual Studio 11 Beta, and I'm trying to update an existing 4.0 project to use 4.5. In the program it compiles some dynamically generated code using CSharpCodeProvider. //...
Tristatristam asked 6/3, 2012 at 20:45

1

Solved

I'm trying to compile a .cs file using a CSharpCodeProvider from a .net 3.5 app and I want to target the .net4 compiler but I'm getting this error "Compiler executable file csc.exe cannot be found"...
Vociferate asked 26/12, 2011 at 0:41

2

Solved

I'm using the CSharpCodeProvider class to compile a C# script which I use as a DSL in my application. When there are warnings but no errors, the Errors property of the resulting CompilerResults ins...
Fucoid asked 13/6, 2010 at 13:35

2

Solved

Im compiling some code at runtime then loading the assembly into the current appdomain, however when i then try to do Type.GetType it cant find the type... Here is how i compile the code... publi...
Medicable asked 11/6, 2010 at 15:5
1

© 2022 - 2024 — McMap. All rights reserved.