Skip to content

Commit

Permalink
Improve build
Browse files Browse the repository at this point in the history
  • Loading branch information
GrimMaple committed Sep 12, 2024
1 parent 2c12799 commit c6135f3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions SpeedTool/SpeedTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,17 @@
<PublishAOT>true</PublishAOT>
<Version>0.2.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<!-- Disabling NU1701 enables referencing TimerInjector, which is built using different framework -->
<NoWarn>NU1701</NoWarn>

<!-- And this allows to publish with a TimerInjector reference that is built differently -->
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>

<ApplicationIcon>Resources\icon.ico</ApplicationIcon>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="../TimerInjector/TimerInjector.csproj" Condition="'$(OS)' == 'Windows_NT'"/>
<PackageReference Include="SharpHook" Version="5.3.7" />
<PackageReference Include="Silk.NET" Version="2.21.0" />
<PackageReference Include="Silk.NET.OpenGL.Extensions.Imgui" Version="2.21.0" />
Expand Down

0 comments on commit c6135f3

Please sign in to comment.