-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
54 lines (50 loc) · 2.7 KB
/
Copy pathDirectory.Build.props
File metadata and controls
54 lines (50 loc) · 2.7 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
<Project>
<PropertyGroup>
<!-- No VersionPrefix - release-drafter resolves the version from
conventional-commit PR titles, see
docs/adr/0006-nuget-package-distribution.md's Versioning and CI
section and .github/workflows/publish-preview.yaml/
publish-release.yaml. -->
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/LayeredCraft/sharp-mud</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Authors>Nick Cipollina</Authors>
<PackageProjectUrl>https://github.com/LayeredCraft/sharp-mud</PackageProjectUrl>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- CS1591 (missing XML doc comment on a public member) is suppressed
repo-wide, not fixed here - documentation.md already tracks the
zero-XML-doc-comments gap as separate, open backfill work; turning
on GenerateDocumentationFile for packaging shouldn't silently turn
that into hundreds of build warnings as a side effect of this
change. New/substantially-changed public members still get real
doc comments per documentation.md - this only suppresses the
warning, it doesn't relax the convention. -->
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup>
<DebugType>embedded</DebugType>
<NoPackageAnalysis>true</NoPackageAnalysis>
<LangVersion>latest</LangVersion>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
</PropertyGroup>
<!-- Samples/tests never get packed - only src/ packages are consumer-facing. -->
<PropertyGroup Condition="'$(IsTestProject)' == 'true'">
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup Condition="'$(IsPackable)' != 'false'">
<None Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="" Visible="false" Condition="Exists('$(MSBuildThisFileDirectory)icon.png')" />
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="" Visible="false" Condition="Exists('$(MSBuildThisFileDirectory)README.md')" />
</ItemGroup>
<ItemGroup Condition="'$(IsPackable)' != 'false'">
<PackageReference Include="Microsoft.SourceLink.GitHub">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>