I'm using the Microsoft.CodeAnalysis.Emit to compile a Visual Basic project and generate .dll file with following compilation options.
VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, optimizationLevel: OptimizationLevel.Debug);
Following error is thrown by the emitter for all VB projects I tried to compile. Please advice how to resolve this.
vstest.executionengine.x86.exe Error: 0 : xxxxx -, C:\Projects\xxxx\xxxxx\My Project\Settings.Designer.vb(67,48): error BC30002: Type 'Global.xxxx.xxxx.Console.VBTestApp.My.MySettings' is not defined.