未验证 提交 482b2f0f 编写于 作者: J Jared Parsons 提交者: GitHub

Merge pull request #26251 from jaredpar/fix-deploy

Remove build logic for old VS versions
......@@ -184,16 +184,8 @@
<!-- Windows specific settings -->
<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
<!-- Presently our code can build on machines with Dev14 or Dev15 but only successfully deploy
in the Dev15 environment. -->
<IsDev15RC Condition="Exists('$(MSBuildBinPath)\..\..\..\Common7\IDE\Microsoft.VisualStudio.ExtensionEngine.dll')">true</IsDev15RC>
<IsDev15RC Condition="Exists('$(MSBuildBinPath)\..\..\..\..\Common7\IDE\Microsoft.VisualStudio.ExtensionEngine.dll')">true</IsDev15RC>
<DeployExtension Condition="'$(IsDev15RC)' != 'true' OR '$(VisualStudioVersion)' != '15.0'">false</DeployExtension>
<DeployExtension Condition="'$(VisualStudioVersion)' != '15.0'">false</DeployExtension>
<VisualStudioBuildToolsVersion>$(MicrosoftVSSDKBuildToolsVersion)</VisualStudioBuildToolsVersion>
<!-- For the moment our Dev14 VSI suites must continue to use the Dev14 SDK. -->
<VisualStudioBuildToolsVersion Condition="'$(IsDev14VsiBuild)' == 'true'">14.3.25420</VisualStudioBuildToolsVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(DevEnvDir)' == ''">
......
......@@ -29,7 +29,7 @@ function Run-Build([string]$rootDir, [switch]$restore = $false, [string]$logFile
Restore-Project $dotnet "Roslyn.sln"
}
$args = "/nologo /v:m /nodeReuse:false /m /p:DebugDeterminism=true /p:BootstrapBuildPath=$script:bootstrapDir /p:Features=`"debug-determinism`" /p:UseRoslynAnalyzers=false Roslyn.sln"
$args = "/nologo /v:m /nodeReuse:false /m /p:DebugDeterminism=true /p:BootstrapBuildPath=$script:bootstrapDir /p:Features=`"debug-determinism`" /p:UseRoslynAnalyzers=false /p:DeployExtension=false Roslyn.sln"
if ($logFile -ne $null) {
$logFile = Join-Path $binariesDir $logFile
$args += " /bl:$logFile"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册