如何使用命令提示符编译C#解决方案? [英] How to Compile C# Solution using command prompt ?

查看:60
本文介绍了如何使用命令提示符编译C#解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能使用命令提示符编译



C#解决方案?



csc.exe< ; filename.cs>将编译cs文件。



我要求编译完整的解决方案





谢谢

:)

Is it possible to compile

C# Solution using command prompt ?

csc.exe <filename.cs> will compile cs file.

I am asking to compile complete solution


Thanks
:)

推荐答案

你可以使用 MSBUILD [ ^ ]?



You can use MSBUILD[^]?

msbuild MySolution.sln /t:Rebuild /p:Configuration=Release /p:Platform="any cpu"


感谢您的提问。您可以像下面这样使用,



Thank you for your question. You can use like bellow,

devenv /build ConfigName [/project ProjName] [/projectconfig ConfigName] SolutionName





参考: http: //www.c-sharpcorner.com/UploadFile/tharakram/BuildDotNetSolution11162005052301AM/BuildDotNetSolution.aspx [ ^ ]





谢谢,

Mamun



Ref:http://www.c-sharpcorner.com/UploadFile/tharakram/BuildDotNetSolution11162005052301AM/BuildDotNetSolution.aspx[^]


Thanks,
Mamun


这是Google搜索链接

编译.net spulution从命令提示符 [ ^ ]
Here is Google Search Link for you
compile .net spulution from command prompt[^]


这篇关于如何使用命令提示符编译C#解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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