File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,11 @@ parameters:
3030 type : boolean
3131 default : true
3232
33+ variables :
34+ # Required by MicroBuild template
35+ - name : TeamName
36+ value : " Azure Tools for VS Code"
37+
3338# Use those templates
3439extends :
3540 template : azure-pipelines/1esmain.yml@azExtTemplates
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Project ToolsVersion =" Current" Sdk =" Microsoft.Build.NoTargets/3.7.56" >
3+ <PropertyGroup >
4+ <TargetFramework >net8.0</TargetFramework >
5+ </PropertyGroup >
6+ <ItemGroup >
7+ <!-- FilesToSign needs to be inside $(OutDir) hence we copy it into
8+ $(OutDir) before (from CWD) and move it back outside after the signing -->
9+ <FilesToSign Include =" $(OutDir)\extension.signature.p7s" >
10+ <!-- Add the certificate friendly name below -->
11+ <Authenticode >VSCodePublisher</Authenticode >
12+ </FilesToSign >
13+ </ItemGroup >
14+
15+ <ItemGroup >
16+ <PackageReference Include =" Microsoft.VisualStudioEng.MicroBuild.Core" Version =" 1.0.0" >
17+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
18+ <PrivateAssets >all</PrivateAssets >
19+ </PackageReference >
20+ </ItemGroup >
21+
22+ <Target Name =" CopySignatureFile" BeforeTargets =" SignFiles" >
23+ <Copy SourceFiles =" $(ProjectDir)\..\extension.manifest" DestinationFiles =" $(OutDir)\extension.signature.p7s" />
24+ </Target >
25+
26+ <Target Name =" CopyBackSignatureFile" AfterTargets =" SignFiles" >
27+ <Copy SourceFiles =" $(OutDir)\extension.signature.p7s" DestinationFiles =" $(ProjectDir)\..\extension.signature.p7s" />
28+ </Target >
29+ </Project >
You can’t perform that action at this time.
0 commit comments