提交 dd2a6f7d 编写于 作者: J Jared Parsons

Minor clean up

上级 b4752a22
......@@ -30,14 +30,12 @@ try
# Need to parse out the current NuGet package version of Structured Logger
[xml]$deps = get-content (join-path $sourcePath "build\Targets\Dependencies.props")
$structuredLoggerVersion = $deps.Project.PropertyGroup.MicrosoftBuildLoggingStructuredLoggerVersion
$packagesPath = Get-PackagesPath
write-host "Building Roslyn.sln with logging support"
$structuredLoggerPath = join-path $packagesPath "Microsoft.Build.Logging.StructuredLogger\$structuredLoggerVersion\lib\net46\StructuredLogger.dll"
$logPath = join-path $binariesPath "build.xml"
write-host "Building Roslyn.sln with logging support"
& msbuild /v:m /m /logger:StructuredLogger`,$structuredLoggerPath`;$logPath Roslyn.sln
if (-not $?) {
exit 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册