Wie kann ich machen das die Datei libwinpthread-1.dll nur unter Windows kopiert wird?
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<None Include="..\build\MiniJS.dll" CopyToOutputDirectory="PreserveNewest" />
<None Include="..\build\libwinpthread-1.dll" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Project>