Include symbols in build output for the VSIX project, and update vsixmanifest dependency version
This commit is contained in:
parent
01aa75eb29
commit
3f03428b0c
|
|
@ -8,6 +8,7 @@
|
||||||
<VSIXProject>$(RepositoryRoot)tooling\$(VSIXName)\$(VSIXName).csproj</VSIXProject>
|
<VSIXProject>$(RepositoryRoot)tooling\$(VSIXName)\$(VSIXName).csproj</VSIXProject>
|
||||||
<VSIXOutputPath>$(BuildDir)$(VSIXName).vsix</VSIXOutputPath>
|
<VSIXOutputPath>$(BuildDir)$(VSIXName).vsix</VSIXOutputPath>
|
||||||
<VSIXManifestOutputPath>$(BuildDir)$(VSIXName).json</VSIXManifestOutputPath>
|
<VSIXManifestOutputPath>$(BuildDir)$(VSIXName).json</VSIXManifestOutputPath>
|
||||||
|
<VSIXSymbolsOutputPath>$(BuildDir)$(VSIXName).pdb</VSIXSymbolsOutputPath>
|
||||||
<VSIXArtifactCategory>shipoob</VSIXArtifactCategory>
|
<VSIXArtifactCategory>shipoob</VSIXArtifactCategory>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|
@ -32,8 +33,16 @@
|
||||||
<PackageId>$(VSIXName)</PackageId>
|
<PackageId>$(VSIXName)</PackageId>
|
||||||
</ArtifactInfo>
|
</ArtifactInfo>
|
||||||
|
|
||||||
|
<ArtifactInfo Include="$(VSIXSymbolsOutputPath)">
|
||||||
|
<ArtifactType>SymbolsFile</ArtifactType>
|
||||||
|
<Category>$(VSIXArtifactCategory)</Category>
|
||||||
|
<Dependencies>$(VSIXName).vsix</Dependencies>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
</ArtifactInfo>
|
||||||
|
|
||||||
<FilesToSign Include="$(VSIXOutputPath)" Certificate="Vsix" IsContainer="true" />
|
<FilesToSign Include="$(VSIXOutputPath)" Certificate="Vsix" IsContainer="true" />
|
||||||
<FilesToExcludeFromSigning Include="$(VSIXManifestOutputPath)" />
|
<FilesToExcludeFromSigning Include="$(VSIXManifestOutputPath)" />
|
||||||
|
<FilesToExcludeFromSigning Include="$(VSIXSymbolsOutputPath)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
|
@ -92,6 +101,7 @@
|
||||||
/p:DeployExtension=false;
|
/p:DeployExtension=false;
|
||||||
/p:TargetVSIXContainer=$(VSIXOutputPath);
|
/p:TargetVSIXContainer=$(VSIXOutputPath);
|
||||||
/p:Configuration=$(Configuration);
|
/p:Configuration=$(Configuration);
|
||||||
|
/p:SymbolsPublishDir=$(BuildDir);
|
||||||
/p:PackageReferencePropsPath=$(MSBuildThisFileDirectory)VSIX.props;" />
|
/p:PackageReferencePropsPath=$(MSBuildThisFileDirectory)VSIX.props;" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
|
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
|
||||||
<IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment>
|
<IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment>
|
||||||
<CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory>
|
<CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory>
|
||||||
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
|
<CopyOutputSymbolsToOutputDirectory>true</CopyOutputSymbolsToOutputDirectory>
|
||||||
<StartAction>Program</StartAction>
|
<StartAction>Program</StartAction>
|
||||||
<StartProgram Condition="'$(DevEnvDir)' != ''">$(DevEnvDir)devenv.exe</StartProgram>
|
<StartProgram Condition="'$(DevEnvDir)' != ''">$(DevEnvDir)devenv.exe</StartProgram>
|
||||||
<StartArguments>/rootsuffix Exp</StartArguments>
|
<StartArguments>/rootsuffix Exp</StartArguments>
|
||||||
|
|
@ -53,7 +53,8 @@
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
|
@ -109,4 +110,8 @@
|
||||||
<Target Name="GetBuildVersion" Outputs="$(VsixVersion)" />
|
<Target Name="GetBuildVersion" Outputs="$(VsixVersion)" />
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
|
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||||
|
|
||||||
|
<Target Name="CopySymbolsToOutput" AfterTargets="Build" Condition="'$(SymbolsPublishDir)' != ''">
|
||||||
|
<Copy SourceFiles="$(OutDir)$(AssemblyName).pdb" DestinationFolder="$(SymbolsPublishDir)" />
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<Dependency Id="Microsoft.VisualStudio.MPF.15.0" DisplayName="Visual Studio MPF 15.0" d:Source="Installed" Version="[15.0]" />
|
<Dependency Id="Microsoft.VisualStudio.MPF.15.0" DisplayName="Visual Studio MPF 15.0" d:Source="Installed" Version="[15.0]" />
|
||||||
</Dependencies>
|
</Dependencies>
|
||||||
<Prerequisites>
|
<Prerequisites>
|
||||||
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0)" DisplayName="Visual Studio core editor" />
|
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0,16.0)" DisplayName="Visual Studio core editor" />
|
||||||
</Prerequisites>
|
</Prerequisites>
|
||||||
<Assets>
|
<Assets>
|
||||||
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
|
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue