Visual Studio在编译c#程序时如何调用cse.exe? [英] how visual studio call cse.exe when compile a c# program?

查看:154
本文介绍了Visual Studio在编译c#程序时如何调用cse.exe?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,我们在visual studio的控制台应用程序中编写简单的添加程序。我们按F5。按F5后如何调用CSE.exe?谁负责这个?

解决方案

首先,它是CSC.EXE而不是CSE.EXE。 (CSharp编译器)

最好阅读一些教程,如果你可以推荐一本书而不是在这里提出这样的问题,那就更好了。

请关注这些链接 -

C#语言和.NET Framework简介 [ ^ ]

.NET Framework概述 [ ^ ]

参与.NET应用程序执行的步骤 [ ^ ]





希望,这有助于:)

最有可能,它是通过MSBuild.exe间接完成的;至少,这是合乎逻辑的。 MSBuild根据项目文件标准工作,该标准抽象出来并集成了所有构建工具。请参阅:

https://msdn.microsoft.com/en-us /library/dd393574.aspx [ ^ ],

https://msdn.microsoft.com/en -us / library / 0k6kkbsd.aspx [ ^ ]。



-SA


For example we write simple addition program in console application of visual studio. And we press F5. After press F5 how CSE.exe will call? who is responsible for this?

解决方案

First of all, it's CSC.EXE and not CSE.EXE. (CSharp Compiler)
Better to read some tutorials and good if you can refer a book rather than asking such questions here.
Follow these links-
Introduction to the C# Language and the .NET Framework[^]
Overview of the .NET Framework[^]
Step Involved in .NET application execution[^]


Hope, that helps :)


Most likely, it's done indirectly via MSBuild.exe; at least, it would be logical. MSBuild works according to the project file standard which abstracts out and integrates all build tools. Please see:
https://msdn.microsoft.com/en-us/library/dd393574.aspx[^],
https://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx[^].

—SA


这篇关于Visual Studio在编译c#程序时如何调用cse.exe?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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