Skip to content

Commit f94a8c3

Browse files
committed
ci: fix up incorrect $(OS) identifier as we use Linux GH actions runners to build all versions now and these wouldn't work for Windows. Remove need for vcruntime too since we no longer use winui3
1 parent b3a30b3 commit f94a8c3

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

VRCFaceTracking.Core/VRCFaceTracking.Core.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@
1414
<ItemGroup>
1515
<ProjectReference Include="..\VRCFaceTracking.SDK\VRCFaceTracking.SDK.csproj" />
1616
</ItemGroup>
17-
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
18-
<Content Include="C:\Windows\System32\vcruntime140.dll" Link="vcruntime140.dll">
19-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
20-
</Content>
21-
</ItemGroup>
22-
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
17+
<ItemGroup Condition="'$(RuntimeIdentifier)' == 'win-x64' Or '$(RuntimeIdentifier)' == 'win-arm64' Or ('$(RuntimeIdentifier)' == '' And $([MSBuild]::IsOSPlatform('Windows')))">
2318
<Content Include="..\fti_osc.dll" Link="fti_osc.dll">
2419
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
2520
</Content>

0 commit comments

Comments
 (0)