-
Notifications
You must be signed in to change notification settings - Fork 21
/
Notation.Plugin.AzureKeyVault.csproj
47 lines (43 loc) · 1.73 KB
/
Notation.Plugin.AzureKeyVault.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Notation.Plugin.AzureKeyVault</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AssemblyName>notation-azure-kv</AssemblyName>
<!-- Build metadata -->
<Version Condition="'$(Version)' != ''">$(Version)</Version>
<CommitHash Condition="'$(CommitHash)' != ''">$(CommitHash)</CommitHash>
<Version Condition="'$(Version)' == ''">1.0.0+unreleased</Version>
<CommitHash Condition="'$(CommitHash)' == ''"></CommitHash>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.8.2" />
<PackageReference Include="Azure.Security.KeyVault.Certificates" Version="4.5.1" />
<PackageReference Include="Azure.Security.KeyVault.Keys" Version="4.5.0" />
<PackageReference Include="Azure.Security.KeyVault.Secrets" Version="4.5.0" />
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="7.0.3" />
</ItemGroup>
<Target Name="GenerateBuildMetadata" BeforeTargets="CoreCompile">
<WriteLinesToFile
File="$(IntermediateOutputPath)\GetPluginMetadta.g.cs"
Lines='
namespace Notation.Plugin.AzureKeyVault.Command
{
public partial class GetPluginMetadata
{
static GetPluginMetadata()
{
Version = "$(Version)"%3b
CommitHash = "$(CommitHash)"%3b
}
}
}'
Overwrite="true"
WriteOnlyWhenDifferent="true" />
<ItemGroup>
<Compile Include="$(IntermediateOutputPath)\GetPluginMetadta.g.cs" />
</ItemGroup>
</Target>
</Project>