-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
73 lines (65 loc) · 3.2 KB
/
Copy pathDirectory.Build.props
File metadata and controls
73 lines (65 loc) · 3.2 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
<Project>
<!--
Solution-wide build properties. Enables nullable reference types
consistently across all projects (see issue #49).
-->
<PropertyGroup>
<Nullable>enable</Nullable>
</PropertyGroup>
<!--
Shared defaults for all test projects, standardized centrally so the five
*.Tests projects stay consistent (see issue #50). Keyed on the '.Tests'
project-name suffix; production projects are unaffected.
-->
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<IsPackable>false</IsPackable>
</PropertyGroup>
<!--
Shared metadata for all projects (see issue #46). Harmless on test
projects (they are not packable).
-->
<PropertyGroup>
<Company>Starion Group S.A.</Company>
<Copyright>Copyright © Starion Group S.A.</Copyright>
<Authors>Sam Gerene</Authors>
<PackageProjectUrl>https://ecorenetto.org</PackageProjectUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/STARIONGROUP/EcoreNetto</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<NeutralLanguage>en-US</NeutralLanguage>
<SatelliteResourceLanguages>en-US</SatelliteResourceLanguages>
</PropertyGroup>
<!--
Shared packaging configuration for the publishable (non-test) projects:
the four libraries and ECoreNetto.Tools.
-->
<PropertyGroup Condition="!$(MSBuildProjectName.EndsWith('.Tests'))">
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageIcon>ecorenetto-Icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateSBOM>true</GenerateSBOM>
</PropertyGroup>
<ItemGroup Condition="!$(MSBuildProjectName.EndsWith('.Tests'))">
<PackageReference Include="Microsoft.Sbom.Targets" PrivateAssets="all" />
<None Include="$(MSBuildThisFileDirectory)ecorenetto-Icon.png" Pack="true" PackagePath="" />
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" />
<None Include="$(MSBuildThisFileDirectory)LICENSE" Pack="true" PackagePath="\" />
<None Include="$(MSBuildThisFileDirectory)NOTICE" Pack="true" PackagePath="\" />
</ItemGroup>
<!--
SourceLink and symbol settings for the four libraries only. ECoreNetto.Tools
(an executable / dotnet tool) intentionally does not ship SourceLink/symbols.
-->
<PropertyGroup Condition="!$(MSBuildProjectName.EndsWith('.Tests')) AND '$(MSBuildProjectName)' != 'ECoreNetto.Tools'">
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<ItemGroup Condition="!$(MSBuildProjectName.EndsWith('.Tests')) AND '$(MSBuildProjectName)' != 'ECoreNetto.Tools'">
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</ItemGroup>
</Project>