LANCommander.Interposer/LANCommander.Interposer.NET/buildTransitive/LANCommander.Interposer.targets
Pat Hartl 2318fdf611 Add .NET bindings
- Publishes NuGet package with .NET bindings
- Allows direct injection
- Allows for event subscription
- Adds callbacks to main Interposer DLL
2026-05-29 23:31:06 -05:00

15 lines
1 KiB
XML

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Copy the native Interposer DLL matching the consumer's platform to the output directory. -->
<ItemGroup Condition="'$(PlatformTarget)' == 'x86' Or '$(RuntimeIdentifier)' == 'win-x86'">
<None Include="$(MSBuildThisFileDirectory)..\runtimes\win-x86\native\LANCommander.Interposer.dll"
Condition="Exists('$(MSBuildThisFileDirectory)..\runtimes\win-x86\native\LANCommander.Interposer.dll')"
CopyToOutputDirectory="PreserveNewest"
Link="LANCommander.Interposer.dll" />
</ItemGroup>
<ItemGroup Condition="'$(PlatformTarget)' != 'x86' And '$(RuntimeIdentifier)' != 'win-x86'">
<None Include="$(MSBuildThisFileDirectory)..\runtimes\win-x64\native\LANCommander.Interposer.dll"
Condition="Exists('$(MSBuildThisFileDirectory)..\runtimes\win-x64\native\LANCommander.Interposer.dll')"
CopyToOutputDirectory="PreserveNewest"
Link="LANCommander.Interposer.dll" />
</ItemGroup>
</Project>