forked from DiscUtils/DiscUtils
-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
32 lines (27 loc) · 1.29 KB
/
Copy pathDirectory.Build.props
File metadata and controls
32 lines (27 loc) · 1.29 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
<Project>
<Import Project="..\Directory.Build.props" Condition="Exists('..\Directory.Build.props')"/>
<!-- Package related stuff -->
<PropertyGroup>
<!-- Shared opt-in keeps new providers automatic at build time; projects without
discovery attributes (including meta-packages) generate no registration code. -->
<DiscUtilsGenerateRegistration>true</DiscUtilsGenerateRegistration>
<TargetFrameworks>netstandard2.0;netstandard2.1;net46;net48;net8.0;net9.0;net10.0</TargetFrameworks>
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
<PackageId>LTRData.$(MSBuildProjectName)</PackageId>
<PackageOutputPath>$(LocalNuGetPath)</PackageOutputPath>
<PackageVersion>$(FileVersion)</PackageVersion>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<!-- SourceLink support -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<!-- Assembly Signing -->
<PropertyGroup>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)../SigningKey.snk</AssemblyOriginatorKeyFile>
<SignAssembly>false</SignAssembly>
<DelaySign>false</DelaySign>
</PropertyGroup>
</Project>