提交 ae731901 编写于 作者: J Jonathon Marolf

fix extension deployment and add explainatory comment

上级 3ffc85bb
......@@ -18,6 +18,7 @@
<CopyOutputSymbolsToOutputDirectory>true</CopyOutputSymbolsToOutputDirectory>
<VSSDKTargetPlatformRegRootSuffix>RoslynDev</VSSDKTargetPlatformRegRootSuffix>
<RoslynProjectType>Vsix</RoslynProjectType>
<IncludeCopyLocalReferencesInVSIXContainer>false</IncludeCopyLocalReferencesInVSIXContainer>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'" />
......
......@@ -22,6 +22,8 @@ public SetGlobalGlobalPropertiesForCPS(IProjectService projectService)
public override Task<IImmutableDictionary<string, string>> GetGlobalPropertiesAsync(CancellationToken cancellationToken)
{
// Currently the SolutionExists context will always occur before CPS calls this class
// If this behavior ever changes we will need to modify this class.
return CompilerPackage.RoslynHive != null
? Task.FromResult<IImmutableDictionary<string, string>>(Empty.PropertiesMap.Add("RoslynHive", CompilerPackage.RoslynHive))
: Task.FromResult<IImmutableDictionary<string, string>>(Empty.PropertiesMap);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册