Skip to content

Commit

Permalink
Embed PDBs in release mode for UX
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrcubix committed Mar 22, 2024
1 parent f986f40 commit 9b2efa3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Wheel-Addon.Lib/Wheel-Addon.Lib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
<RootNamespace>WheelAddon.Lib</RootNamespace>
</PropertyGroup>

<!-- Only Embed PDBs in Release -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>embedded</DebugType>
</PropertyGroup>

<ItemGroup>
<!-- OpenTabletDriver -->
<ProjectReference Include="../.modules/OTD.EnhancedOutputMode/.modules/OpenTabletDriver/OpenTabletDriver.Desktop/OpenTabletDriver.Desktop.csproj" />
Expand Down
5 changes: 5 additions & 0 deletions Wheel-Addon.UX.Desktop/Wheel-Addon.UX.Desktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
<TrimUnusedDependencies>true</TrimUnusedDependencies>
</PropertyGroup>

<!-- Only Embed PDBs in Release -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>embedded</DebugType>
</PropertyGroup>

<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
Expand Down
4 changes: 4 additions & 0 deletions Wheel-Addon.UX/Wheel-Addon.UX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<TrimMode>Link</TrimMode>
</PropertyGroup>

<!-- Only Embed PDBs in Release -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>embedded</DebugType>
</PropertyGroup>

<ItemGroup>
<AvaloniaResource Include="Assets\**" />
Expand Down

0 comments on commit 9b2efa3

Please sign in to comment.