Skip to content

Commit 07efd7d

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 37992e3 commit 07efd7d

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

VRCFaceTracking.Core/VRCFaceTracking.Core.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<PropertyGroup>
33
<TargetFramework>$(VftTargetFramework)</TargetFramework>
44
<RootNamespace>VRCFaceTracking.Core</RootNamespace>
5+
<IsRidAgnostic>false</IsRidAgnostic>
56
</PropertyGroup>
67
<ItemGroup>
78
<PackageReference Include="CommunityToolkit.Mvvm" />
@@ -14,12 +15,7 @@
1415
<ItemGroup>
1516
<ProjectReference Include="..\VRCFaceTracking.SDK\VRCFaceTracking.SDK.csproj" />
1617
</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'">
18+
<ItemGroup Condition="'$(RuntimeIdentifier)' == 'win-x64' Or '$(RuntimeIdentifier)' == 'win-arm64' Or ('$(RuntimeIdentifier)' == '' And $([MSBuild]::IsOSPlatform('Windows')))">
2319
<Content Include="..\fti_osc.dll" Link="fti_osc.dll">
2420
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
2521
</Content>

0 commit comments

Comments
 (0)