-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathlibman.csproj
More file actions
47 lines (46 loc) · 2.04 KB
/
libman.csproj
File metadata and controls
47 lines (46 loc) · 2.04 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
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>$(NetCoreTFM)</TargetFramework>
<RootNamespace>Microsoft.Web.LibraryManager.Tools</RootNamespace>
<PackAsTool>true</PackAsTool>
<PackAsToolShimRuntimeIdentifiers>win-x64;win-arm64;osx-x64;osx-arm64</PackAsToolShimRuntimeIdentifiers>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Microsoft.Web.LibraryManager.Cli</PackageId>
<Description>Command line tool for Library Manager</Description>
</PropertyGroup>
<ItemGroup>
<Reference Include="System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.CommandLineUtils.Sources" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\LibraryManager\Microsoft.Web.LibraryManager.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Update="Resources\Text.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Text.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Resources\Text.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Text.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<Target Name="AdditionalPublishedFilesToSign" AfterTargets="CopyFilesToPublishDirectory">
<!-- For NuGet packaging, files get put in $(PublishDir) and should be signed there instead of $(OutputDir) -->
<!-- Also note, it uses @(PublishedFilesToSign) instead of @(FilesToSign). See target SignPublishedFiles -->
<ItemGroup>
<PublishedFilesToSign Include="$(PublishDir)\Newtonsoft.Json.dll">
<Authenticode>3PartySHA2</Authenticode>
</PublishedFilesToSign>
<PublishedFilesToSign Include="$(PublishDir)\**\libman.resources.dll" />
<PublishedFilesToSign Include="$(PublishDir)\shims\win-*\libman.exe" />
</ItemGroup>
</Target>
</Project>