Skip to content

Commit

Permalink
不在Debug下嵌入代码
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Oct 15, 2024
1 parent b242302 commit 5b59e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<!-- 打包控制 -->
<PropertyGroup>
<!-- 嵌入源代码到符号文件,方便调试 -->
<EmbedAllSources>true</EmbedAllSources>
<EmbedAllSources Condition="'$(Configuration)' != 'Debug'">true</EmbedAllSources>
<!-- 输出 pdb 文件 NuGet 包 -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
Expand Down

0 comments on commit 5b59e7f

Please sign in to comment.