Skip to content

Commit

Permalink
调整Debug编译模式下的调试符号的输出
Browse files Browse the repository at this point in the history
Debug模式下,输出完整的调试符号。
  • Loading branch information
Janet-Baker committed Aug 1, 2024
1 parent 77a4c1d commit abda274
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Client/Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<WebView2LoaderPreference>Static</WebView2LoaderPreference>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>full</DebugType>
</PropertyGroup>

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows7.0</TargetFramework>
Expand Down
5 changes: 3 additions & 2 deletions Core/Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
<Version>5.0.0.0</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<NoWarn>1701;1702</NoWarn>
<DebugType>full</DebugType>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<NoWarn>1701;1702</NoWarn>
</PropertyGroup>

Expand Down
4 changes: 4 additions & 0 deletions Desktop/Desktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<WebView2LoaderPreference>Static</WebView2LoaderPreference>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>full</DebugType>
</PropertyGroup>

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows7.0</TargetFramework>
Expand Down
4 changes: 4 additions & 0 deletions Server/Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
<AppendRuntimeIdentifierToOutputPath>true</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>full</DebugType>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ConsoleTableExt" Version="3.2.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="8.0.0" />
Expand Down

0 comments on commit abda274

Please sign in to comment.