forked from microsoft/vscode-node-debug2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNodeDebugAdapter.csproj
More file actions
37 lines (29 loc) · 1.13 KB
/
Copy pathNodeDebugAdapter.csproj
File metadata and controls
37 lines (29 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ExtensionFilesToCopy Include="..\vsix\extension\**\*" />
</ItemGroup>
<Target Name="CopyFilesToSign" BeforeTargets="DeleteUnwantedFiles">
<Copy SourceFiles="@(ExtensionFilesToCopy)"
DestinationFiles="@(ExtensionFilesToCopy->'$(OutDir)\ziproot\%(RecursiveDir)%(Filename)%(Extension)')" />
</Target>
<Target Name="DeleteUnwantedFiles" DependsOnTargets="CopyFilesToSign" BeforeTargets="GetFilesToSign">
<Delete Files="$(OutDir)NodeDebugAdapter.dll;
$(OutDir)NodeDebugAdapter.pdb;
$(OutDir)NodeDebugAdapter.deps.json;"/>
</Target>
<Target Name="GetFilesToSign" DependsOnTargets="DeleteUnwantedFiles" BeforeTargets="SignFiles">
<ItemGroup>
<FilesToSign Include="$(OutDir)ziproot\**\*.js">
<Authenticode>Microsoft400</Authenticode>
</FilesToSign>
</ItemGroup>
</Target>
<ItemGroup>
<PackageReference Include="MicroBuild.Core">
<Version>0.2.0</Version>
</PackageReference>
</ItemGroup>
</Project>