将.vb文件转换为.dll错误 [英] convert .vb files to .dll error

查看:75
本文介绍了将.vb文件转换为.dll错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用vs 2008命令提示符将.vb文件转换为.dll时,它显示错误

无法将vbc识别为内部或外部命令

我用了以下行

vbc/t:库hello.vb



vbc/target:library hello.vb

When I try To Convert .vb file to .dll using vs 2008 command prompt then it shows error

vbc is not recognized as an internal or external command

i used the following line

vbc /t:library hello.vb

or

vbc /target:library hello.vb

推荐答案

您必须使用visual studio命令提示符才能执行此操作.
通过开始|程序| Visual Studio(可能取决于您的版本)| Visual Studio工具| Visual Studio命令提示符

发生的是,它会创建一个正常的命令提示符,但具有正确的路径设置.
You have to use the visual studio command prompt in order to do this.
Via Start | Programs | Visual Studio (may depend on your version) | Visual studio tools | visual studio command prompt

What happens is that it creates a normal command prompt but with correct path settings.


这篇关于将.vb文件转换为.dll错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆