Skip to content

Roslyn compiler is copied to root directory #41

@wpsmmb

Description

@wpsmmb

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'.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions