计算机上的CSC版本 [英] CSC version at computer
问题描述
我通过Visual Studio Code对代码进行快速更改.如您所知,它没有内置编译器,所以我通过CMD使用CSC.
I making fast changes in my code via Visual Studio Code. As you know it doesn't have build-in compiler so I using CSC via CMD.
这仅对(code< = C#4.6& code< = .NET 4.5)有效,因为我拥有该版本的CSC.
It's working good only for ( code <= C# 4.6 & code <= .NET 4.5 ) because that version of CSC I have.
这是有问题的,因为我用新的C#6.0和.NET 4.6编写并且无法通过CSC进行编译. 我已经安装了带有.NET 4.6的VS 2015,并且可以通过VS 2015正常运行.
And there is problem because I writing in new C# 6.0 and .NET 4.6 and can't compile via CSC. I have installed VS 2015 with .NET 4.6 and compilie via VS 2015 working good.
我在计算机中找不到版本为CSC的巫婆支持版本为.NET 4.6的CSC.我在Windows Registry(regedit)中有.NET 4.6.
I can't find CSC in version witch support CSC in version .NET 4.6 in my computer. I have .NET 4.6 in Windows Registry(regedit).
推荐答案
csc.exe
编译器位于c:\Program Files (x86)\MSBuild\14.0\bin\csc2.exe
这篇关于计算机上的CSC版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!