-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
Description
Version Used:
1.0.6, 1.0.7, 1.0.8
Steps to Reproduce:
Use the compiler in a non ASP.NET project to compile dynamic assemblies as follow:
string classSource = "// some source";
CompilerParameters options = new CompilerParameters {
GenerateExecutable = false,
GenerateInMemory = true,
IncludeDebugInformation = true,
CompilerOptions = "/define:DEBUG"
};
CodeDomProvider provider = new CSharpCodeProvider();
CompilerResults result = provider.CompileAssemblyFromSource(options, classSource);
Expected Behavior:
Roslyn files will be located in subfolder of the project.
Actual Behavior:
The compiler is copied to 'C:\bin\roslyn' or if the solution is located on drive D the files are copied to 'D:\bin\roslyn'.