您如何编译C#? [英] How do you compile C#?

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

问题描述

因此,我想知道如何编译C#。我有Windows 7企业版。是否有内置程序,或者我是否可以下载一个程序?

So, I was wondering how to compile C#. I have Windows 7 Enterprise. Is there a built-in program or do I have do download one?

如果我必须下载一个程序,您有什么建议?

If I have to download one, what do you recommend?

I Google对此进行了搜索,并告诉我有关 csc.exe的信息,

I have Googled this, and it told me about "csc.exe" but I can't find this.

推荐答案

对于任何实际的开发,IDE都是更可取的。 Microsoft免费提供了 Visual Studio Express 版,其中包含您需要的所有内容

For any real development, an IDE is preferable. Microsoft offers the Visual Studio Express edition for free, which has everything you need to get started with C#.

不过,您可以仅使用框架随附的命令行编译器(csc.exe)进行编译。

However, you can compile using just the command line compiler (csc.exe), which is included with the framework.

它应该位于.NET安装目录中;例如,在用于.NET 4(64位版本)的计算机上,我在以下位置有一个csc.exe:

It should be located in the .NET installation dir; for instance on my machine for .NET 4, 64 bit version, I have a csc.exe in:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319

这篇关于您如何编译C#?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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