[英]Where to find csc.exe in .NET Framework 4.5?
I try to find csc.exe
to add this to PATH
system variable.我尝试找到csc.exe
将其添加到PATH
系统变量。 I have been install Microsoft .NET Framework 4.5 SDK
.我一直在安装Microsoft .NET Framework 4.5 SDK
。
Why I don't see v4.5 in C:\\Windows\\Microsoft.NET\\Framework64?为什么我在 C:\\Windows\\Microsoft.NET\\Framework64 中看不到 v4.5?
Where to find csc.exe in .NET Framework 4.5?在 .NET Framework 4.5 中哪里可以找到 csc.exe?
CSC present in 4.0 folder (C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319) is also csc of 4.5. 4.0文件夹(C:\\ Windows \\ Microsoft.NET \\ Framework64 \\ v4.0.30319)中存在的CSC也是4.5的CSC。 Path C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\csc.exe is for 64 bit version of framework. 路径C:\\ Windows \\ Microsoft.NET \\ Framework64 \\ v4.0.30319 \\ csc.exe适用于64位版本的框架。
# In PowerShell
# Dotnet's CSc.exe path:
[String]$cscPath = [System.IO.Path]::Combine($([System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()), "csc.exe");
Write-Output $cscPath
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.