Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@
<Company>Atypical Consulting SRL</Company>
</PropertyGroup>

<!-- Source Link -->
<!-- Consumed alongside DotNet.ReproducibleBuilds in the packable projects, which also turns on
deterministic builds and DebugType=embedded: the portable PDB then travels INSIDE the
assembly, so consumers can step into this code with no symbol-server configuration.
Deliberately NOT paired with IncludeSymbols/SymbolPackageFormat=snupkg — with embedded PDBs
no separate .pdb exists, so the snupkg would be packed empty and nuget.org rejects those
outright ("The package does not contain any symbol (.pdb) files"). -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<!-- Versioning -->
<!-- https://saebamini.com/how-to-version-your-net-nuget-packages-libraries-and-assemblies-azure-yaml-pipelines-example-using-net-core-cli/ -->
<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

<!-- Development dependencies -->
<ItemGroup>
<PackageReference Include="DotNet.ReproducibleBuilds" Version="2.0.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="DefaultDocumentation" Version="1.2.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
<None Include="../../LICENSE" Pack="true" PackagePath="" />
</ItemGroup>

<!-- Development dependencies -->
<ItemGroup>
<PackageReference Include="DotNet.ReproducibleBuilds" Version="2.0.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<!-- Dependencies -->
<ItemGroup>
<PackageReference Include="Octokit" Version="14.0.0" />
Expand Down
Loading