Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dictionary<string, string> providerOptions = new Dictionary<string, string>
- {
- {"CompilerVersion", "v3.5"}
- };
- CSharpCodeProvider provider = new CSharpCodeProvider(providerOptions);
- CompilerParameters compilerParams = new CompilerParameters
- {
- GenerateInMemory = true,
- GenerateExecutable = false
- };
- compilerParams.ReferencedAssemblies.Add(Assembly.GetEntryAssembly().Location);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement