通过Visual Studio命令行编译VB.NET项目? [英] Command line compiling VB.NET project via Visual Studio?

查看:177
本文介绍了通过Visual Studio命令行编译VB.NET项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编译名为 Visual Basic .NET 项目通过命令行命令Myproject.sln .我需要构建和编译该解决方案.

I am trying to compile my Visual Basic .NET project named Myproject.sln via command line commands. I need to build and compile that solution.

我的Visual Basic .NET编译器称为vbc.exe.知道我该怎么做吗?

My Visual Basic .NET compiler is called vbc.exe. Any idea how I do that thing?

我正在使用Visual Studio 2005,并且已经阅读了Microsoft的教程"

I am using Visual Studio 2005 , and I have already read Microsoft's tutorial, "Building from the Command Line (Visual Basic)".

推荐答案

.NET框架(版本2及更高版本)附带一个名为 MSBuild . 您可以使用它来构建Visual Studio项目/解决方案文件.

The .NET framework (version 2 and above) comes with a command line build utility called MSBuild. You can use this to build your Visual Studio project/solution files.

从命令行:

msbuild Myproject.sln

这篇关于通过Visual Studio命令行编译VB.NET项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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