How to compile multiple file using vbc?# DotNet - 窗口里的风景
b*s
1 楼
I am learning Visual Basic .Net right now. I encounter a problem and can not
find a solution. I have two classes A and B which are in two different source
files a.vb and B.vb.
Class A imports class B.
In a.vb, it has the following code at the beginning.
Imports B
But when I compile a.vb, the compiler gives me an error: Can not find B. I am
using the compiler vbc which comes for free with .Net Framework.
When I open Visual Studio .net and add a.vb and b.vb into a project, I can
compile both sourc
find a solution. I have two classes A and B which are in two different source
files a.vb and B.vb.
Class A imports class B.
In a.vb, it has the following code at the beginning.
Imports B
But when I compile a.vb, the compiler gives me an error: Can not find B. I am
using the compiler vbc which comes for free with .Net Framework.
When I open Visual Studio .net and add a.vb and b.vb into a project, I can
compile both sourc