-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
52 lines (43 loc) · 2.04 KB
/
Directory.Build.props
File metadata and controls
52 lines (43 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
48
49
50
51
52
<!-- Directory.Build.props (repo root) -->
<Project>
<PropertyGroup>
<!-- Common metadata -->
<Company>mod-posh</Company>
<Authors>Jeffrey Patton</Authors>
<RepositoryUrl>https://github.com/mod-posh/Xml2Doc</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<!-- Version: set once for all (override per project if needed) -->
<!-- was: <Version>1.4.0</Version> -->
<VersionPrefix>1.4.0</VersionPrefix>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<!-- Licensing (metadata only; LICENSE lives in repo root) -->
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
<!-- SourceLink + symbols (helps debugging for all pkgs) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Build defaults -->
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<PlatformTarget>AnyCPU</PlatformTarget>
<!-- Central TFM sets -->
<Xml2Doc_LibTFMs>netstandard2.0;net8.0;net9.0</Xml2Doc_LibTFMs>
<Xml2Doc_CliTFMs>net8.0;net9.0</Xml2Doc_CliTFMs>
<Xml2Doc_TaskTFMs>net472;net8.0</Xml2Doc_TaskTFMs>
</PropertyGroup>
<!-- Apply TFMs per project; no global TargetFramework(s) -->
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'Xml2Doc.Core' and '$(TargetFrameworks)' == ''">
<TargetFrameworks>$(Xml2Doc_LibTFMs)</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'Xml2Doc.Cli' and '$(TargetFrameworks)' == ''">
<TargetFrameworks>$(Xml2Doc_CliTFMs)</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'Xml2Doc.MSBuild' and '$(TargetFrameworks)' == ''">
<TargetFrameworks>$(Xml2Doc_TaskTFMs)</TargetFrameworks>
</PropertyGroup>
<!-- SourceLink for all projects -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>