Creates deterministic assembly and pdb not depend on project location
Avoids to include your project location full path into an assembly and a pdb.
Only to do install this package.
<ItemGroup>
<PackageReference Include="BuildExtensions.DeterministicPdb" Version="*" PrivateAssets="All" />
</ItemGroup>
MIT