Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverMorewd authored Oct 11, 2024
1 parent 5d28e50 commit 8649c61
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,29 @@ This is a sample desktop application for **Lemon.ModuleNavigation** and **Lemon.
![sample-show](https://github.com/user-attachments/assets/58690f91-6939-47d7-84d3-113d04c722a7)

#### AOT config:
Update .csproj
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
...
<PublishAot>true</PublishAot>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
...
</PropertyGroup>

<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
<IsTrimmable>true</IsTrimmable>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>

<ItemGroup>
<RdXmlFile Include="rd.xml" />
</ItemGroup>
</Project>

```

Add rd.xml
```xml
<Directives>
<!--
Expand Down

0 comments on commit 8649c61

Please sign in to comment.