Skip to content

Commit 7af4bf4

Browse files
Compile as dll
1 parent 62ff260 commit 7af4bf4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ICSharpCode.CodeConverter/VB/CSToVBConversion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public SyntaxTree CreateTree(string text)
126126

127127
public Compilation CreateCompilationFromTree(SyntaxTree tree, IEnumerable<MetadataReference> references)
128128
{
129-
return CSharpCompilation.Create("Conversion", new[] { tree }, references);
129+
return CSharpCompilation.Create("Conversion", new[] { tree }, references, new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
130130
}
131131
}
132132
}

0 commit comments

Comments
 (0)