Skip to content

Commit

Permalink
Use TerraFX.Interop.Windows in Shared.
Browse files Browse the repository at this point in the history
  • Loading branch information
PJB3005 committed Jul 15, 2023
1 parent 4e816fa commit d7ee2bc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions Robust.Client/Robust.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<!-- ILLink configuration -->
<ItemGroup>
<RobustLinkRoots Include="Robust.Client" />
<RobustLinkRoots Include="Robust.Shared" />
<RobustLinkAssemblies Include="TerraFX.Interop.Windows" />
<RobustLinkAssemblies Include="OpenToolkit.Graphics" />
</ItemGroup>
Expand Down
10 changes: 10 additions & 0 deletions Robust.Server/Robust.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<ServerGarbageCollection>true</ServerGarbageCollection>
<!-- Try to fix sporadic errors against Robust.Packaging, apparently?? -->
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
<RobustILLink>true</RobustILLink>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2021.3.0" PrivateAssets="All" />
Expand Down Expand Up @@ -40,5 +41,14 @@
</EmbeddedResource>
</ItemGroup>

<!-- ILLink configuration -->
<ItemGroup>
<RobustLinkRoots Include="Robust.Server" />
<RobustLinkRoots Include="Robust.Shared" />
<RobustLinkAssemblies Include="TerraFX.Interop.Windows" />
</ItemGroup>

<Import Project="..\MSBuild\Robust.Properties.targets" />

<Import Project="..\MSBuild\Robust.Trimming.targets" />
</Project>
1 change: 1 addition & 0 deletions Robust.Shared/Robust.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<PackageReference Include="SharpZstd.Interop" Version="1.5.2-beta2" />
<PackageReference Include="SpaceWizards.Sodium" Version="0.2.1" />
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.3" />
<PackageReference Include="TerraFX.Interop.Windows" Version="10.0.20348-rc2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Lidgren.Network\Lidgren.Network.csproj" />
Expand Down

0 comments on commit d7ee2bc

Please sign in to comment.