The tracked DLL is committed with its source, so a build that embeds the commit can never match it. Two places named the commit: the informational version (0.2.0+<sha>) and Source Link's commit URL in the pdb, whose content id the DLL also carries. The csproj drops the revision from the version, and the Unity build turns Source Link off; NuGet packs keep it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
26 lines
1.1 KiB
XML
26 lines
1.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net8.0;netstandard2.1</TargetFrameworks>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<LangVersion>latest</LangVersion>
|
|
<RootNamespace>CultMath</RootNamespace>
|
|
<AssemblyName>CultMath</AssemblyName>
|
|
<PackageId>GameCult.Math</PackageId>
|
|
<Version>0.2.0</Version>
|
|
<Description>Clean-room C# math shaped for HLSL-style renderer code.</Description>
|
|
<Authors>GameCult</Authors>
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
<NoWarn>$(NoWarn);CS8981</NoWarn>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<!-- The Unity DLL is committed beside its source, so its bytes must not name a commit. -->
|
|
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
|
|
<None Include="..\..\shaders\CultMath.hlsl" Pack="true" PackagePath="contentFiles\any\any\shaders\CultMath.hlsl" CopyToOutputDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|