I have two source files: first in VB.NET, second is in C#. These files are automatically generated from some database. In .vb file some class is defined, let's say VB_Class_A; in .cs file a class is defined, that is derived from VB_ class: CS_Class_A : VB_Class_A. For compiling I first call vbc.exe with /t:module and get VB_code.module; then I call csc.exe with /addmodule:VB_code.module and get final dll. But this dll is dependent on VB_code.module: if I delete VB_code.module dll won't work. The question is how to compile independent library?
Asked
Active
Viewed 145 times
0
-
Why is it bad to have two libraries? – D Stanley Nov 11 '15 at 17:10
-
Check this answer: http://stackoverflow.com/questions/2556048/how-to-integrate-ilmerge-into-visual-studio-build-process-to-merge-assemblies – Bill Sambrone Nov 11 '15 at 18:54