Skip to content

Commit

Permalink
chore: update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
ZGGSONG committed Sep 16, 2024
1 parent 441a491 commit 25d54fa
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>..\..\artifacts\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net8.0-windows</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>false</PublishReadyToRun>
</PropertyGroup>
</Project>
5 changes: 5 additions & 0 deletions sample/WeChatOcr.Sample/WeChatOcr.Sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
<UseWPF>true</UseWPF>
</PropertyGroup>

<!--// Release 模式下禁用 Debug 信息 //-->
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>none</DebugType>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NHotkey" />
<PackageReference Include="NHotkey.Wpf" />
Expand Down

0 comments on commit 25d54fa

Please sign in to comment.