1
0
Fork 0

Include debug symbols, but strip sensitive source paths

This commit is contained in:
ivan tkachenko 2025-12-20 20:35:15 +02:00
parent a4ca1c86ec
commit b6f576d50d
1 changed files with 10 additions and 3 deletions

View File

@ -13,9 +13,6 @@
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<!-- NetcodePatch requires anything but 'full' -->
<DebugType>portable</DebugType>
<PackageReadmeFile>../README.md</PackageReadmeFile>
<PackageProjectUrl>https://git.vilunov.me/ratijas/muzika-gromche</PackageProjectUrl>
<RepositoryUrl>https://git.vilunov.me/ratijas/muzika-gromche</RepositoryUrl>
@ -32,6 +29,16 @@
<NoWarn>$(NoWarn);CS0436</NoWarn>
</PropertyGroup>
<!-- Embedded debug -->
<PropertyGroup>
<DebugSymbols>true</DebugSymbols>
<!-- NetcodePatch requires anything but 'full' -->
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration) == 'Release'">
<PathMap>$(UserProfile)=~,$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))=$(PackageId)/</PathMap>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all" Private="false" />
<PackageReference Include="BepInEx.Core" Version="5.*" PrivateAssets="all" Private="false" />