-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
79 lines (67 loc) · 2.87 KB
/
Directory.Build.props
File metadata and controls
79 lines (67 loc) · 2.87 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<Project>
<!-- Generic properties -->
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute>
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<LangVersion>12.0</LangVersion>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<WarningsAsErrors>PInvoke001</WarningsAsErrors>
</PropertyGroup>
<!-- Versioning -->
<PropertyGroup>
<Product>P/Invoke for .NET Standard</Product>
<Company>Riverside Valley Corporation</Company>
<MajorVersion>1</MajorVersion>
<MinorVersion>1</MinorVersion>
<AssemblyVersion>$(MajorVersion).$(MinorVersion)</AssemblyVersion>
<CurrentYear>$([System.DateTime]::Now.ToString("yy"))</CurrentYear>
<CurrentMonth>$([System.DateTime]::Now.ToString("MM"))</CurrentMonth>
<CurrentDay>$([System.DateTime]::Now.ToString("dd"))</CurrentDay>
<BuildDate>$(CurrentYear)$(CurrentMonth)$(CurrentDay)</BuildDate>
<Version>$(MajorVersion).$(MinorVersion).$(BuildDate)</Version>
</PropertyGroup>
<!-- Package properties -->
<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Title>$(Product)</Title>
<Authors>Riverside, Lamparter</Authors>
<Company>Riverside Valley Corporation</Company>
<Copyright>Copyright (c) Lamparter</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/Lamparter/Win32</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>pinvoke; dotnet; cswin32; riverside</PackageTags>
<Description>Win32 P/Invoke bindings for .NET Standard</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<IncludeSymbols>True</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageIcon>PackageLogo.png</PackageIcon>
</PropertyGroup>
<ItemGroup>
<None Include="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="$(MSBuildThisFileDirectory)\.github\PackageLogo.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
<!-- Package references -->
<ItemGroup>
<PackageReference Include="Microsoft.Win32.Registry" Version="*" />
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.183">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Memory" Version="*" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="*" />
</ItemGroup>
</Project>