avatar
b*s
1
I have a VB .net project. I tries to use vbc.exe to compile all the vb files
instead of using the visual studio .net.
I created one utility file say "a.vb", which have a function "f1()" that I
will call in other vb source file say "b.vb". But there is no conecpt of the
include as C/C++ has. So when I try to compile b.vb using:
vbc b.vb
It complains the function 'f()" can not be found. If it is in C, I will use
#include "a.h" in b file and it will know where the definition is.
Does anybody have
avatar
y*e
2
you can try
vbc /out:test.exe a.vb b.vb
or
vbc /out:test.exe *.vb
or if you have visual studio solution file use
devenv *.sln /build
or use Nant

【在 b******s 的大作中提到】
: I have a VB .net project. I tries to use vbc.exe to compile all the vb files
: instead of using the visual studio .net.
: I created one utility file say "a.vb", which have a function "f1()" that I
: will call in other vb source file say "b.vb". But there is no conecpt of the
: include as C/C++ has. So when I try to compile b.vb using:
: vbc b.vb
: It complains the function 'f()" can not be found. If it is in C, I will use
: #include "a.h" in b file and it will know where the definition is.
: Does anybody have

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。