是否有本地或自定义的MSBuild任务可用于返回当前操作系统版本?是否有一个二进制文件可以通过Exec任务调用?还是有其他选择?
编辑: Peter Lang建议以下链接: http://www.paraesthesia.com/archive/2009/07/06/getting-the-windows-os-version-in-msbuild.aspx
是否有本地或自定义的MSBuild任务可用于返回当前操作系统版本?是否有一个二进制文件可以通过Exec任务调用?还是有其他选择?
编辑: Peter Lang建议以下链接: http://www.paraesthesia.com/archive/2009/07/06/getting-the-windows-os-version-in-msbuild.aspx
Get-WMIObject Win32_OperatingSystem | select Version