提交 92c67f82 编写于 作者: K KevinRansom

Ensure that prepare.bat Enables the roslyn packages.

Ensure that when building roslyn we delete tthe vssqmmulti.dll (sqm logging) so that OSS builds do not provide innacurate logging. (changeset 1211284)
上级 917d7706
......@@ -48,6 +48,11 @@ if not "%unconfigure%" == "true" (
if not "%unconfigure%" == "true" (
"%VSSDK120Install%\VisualStudioIntegration\Tools\Bin\CreateExpInstance.exe" /Reset /VSInstance=%targetVS% /RootSuffix=%TargetHive% 2> nul
call :EnableRoslynPackage Roslyn.VisualStudio.Components.pkgdef 0b5e8ddb-f12d-4131-a71d-77acc26a798f
call :EnableRoslynPackage Roslyn.VisualStudio.Setup.pkgdef 28354cb8-c808-4138-bfce-33aa846bbd51
call :EnableRoslynPackage Roslyn.PreviewPackage.pkgdef 8e2de189-1d7a-4bdb-9a15-fa0cb80e9450
call :EnableRoslynPackage CompilerPackage.pkgdef fc8d0600-8f16-4a89-a49c-a4f6c38b216a
)
call :DisableVerificationFor Microsoft.CodeAnalysis.dll
......@@ -79,3 +84,10 @@ goto :eof
@echo %label% verification for %1
for /F %%f in ('dir /s /b "%LOCALAPPDATA%\Microsoft\VisualStudio\%targetVS%%TargetHive%\%1"') do sn -q %verification% "%%f" && goto :eof
goto :eof
:EnableRoslynPackage %1 %2
@echo %label% EnableRoslynPackage for %1
for /F %%f in ('dir /s /b "%LOCALAPPDATA%\Microsoft\VisualStudio\%targetVS%%TargetHive%\%1"') do reg add "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\%targetVS%%TargetHive%\ExtensionManager\EnabledExtensions" /v %2 /d %%~dpf /F > nul 2>&1 && goto :eof
goto :eof
......@@ -119,7 +119,7 @@
<ItemGroup>
<FilesToCopy Include="$(UserProfile)\AppData\Local\Microsoft\VisualStudio\$(DeployVSVersion)$(DeployVSHive)\Extensions\**\$(TargetName)$(TargetExt)" />
<ConfigsToCopy Include="$(UserProfile)\AppData\Local\Microsoft\VisualStudio\$(DeployVSVersion)$(DeployVSHive)\Extensions\**\$(TargetName)$(TargetExt).Config" />
<FilesToDelete Include="$(UserProfile)\AppData\Local\Microsoft\VisualStudio\$(DeployVSVersion)$(DeployVSHive)\Extensions\**\extensions.$(PreferredUILang).cache;$(UserProfile)\AppData\Local\Microsoft\VisualStudio\$(DeployVSVersion)$(DeployVSHive)\Extensions\**\extensionSdks.$(PreferredUILang).cache" />
<FilesToDelete Include="$(UserProfile)\AppData\Local\Microsoft\VisualStudio\$(DeployVSVersion)$(DeployVSHive)\Extensions\**\extensions.$(PreferredUILang).cache;$(UserProfile)\AppData\Local\Microsoft\VisualStudio\$(DeployVSVersion)$(DeployVSHive)\Extensions\**\extensionSdks.$(PreferredUILang).cache; $(UserProfile)\AppData\Local\Microsoft\VisualStudio\$(DeployVSVersion)$(DeployVSHive)\Extensions\**\vssqmmulti.dll;" />
</ItemGroup>
<Message Text="Source: @(FilesToCopy->'$(OutDir)%(Filename)%(Extension)')"/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册