Microsoft.Net.Compilers的目的是什么? [英] What is the purpose of Microsoft.Net.Compilers?

查看:94
本文介绍了Microsoft.Net.Compilers的目的是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此编译器的重要性是什么?是必须拥有还是可以没有?无论如何,拥有另一个编译器的目的是什么,还是仅仅是一个未来的项目?简要概述,将不胜感激.

What is the importance of this compiler? Is it a must have or could do without? What is the purpose of having another compiler anyway, or is it just a futuristic project? A brief overview would be appreciated.

推荐答案

Microsoft.Net.Compilers软件包的要点是,与该软件包一起分发的编译器将用于编译项目,而不是随附的编译器. .NET Framework或Visual Studio.最实际的直接好处是,它允许您的项目使用C#6功能,然后允许将这些项目构建在未安装C#6编译器的系统上,例如,在您没有使用C#6编译器的系统上.不想安装完整的Visual Studio 2015.

The point of the Microsoft.Net.Compilers package is that the compilers distributed with that package will be used for compiling your project, rather than the compiler that comes with .NET Framework or with Visual Studio. The most practical direct benefit is that it allows your projects to use C# 6 features, and then allows those projects to be built on a system that doesn't have a C# 6 compiler installed, for instance on a continuous integration server where you don't want to install the full Visual Studio 2015.

这篇关于Microsoft.Net.Compilers的目的是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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