Visual Studio 2017 Community
将csc添加到环境变量中去
之前添加csc的过程,在C#本质论的后面有说明。
添加
%Windir%\Microsoft.NET\Framework\v4.0.30319
到环境变量中去
%Windir%\Microsoft.NET\Framework\v4.0.30319
添加到环境变量Path中去,结果在cmd调用的结果如下:
Microsoft (R) Visual C# Compiler version 4.7.2046.0
for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.
This compiler is provided as part of the Microsoft (R) .NET Framework,