Skip to content

Commit ee6f6d0

Browse files
committed
msbuild sdk workaround
1 parent 0c2bd6c commit ee6f6d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/LibVLCSharp/LibVLCSharp.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ LibVLC needs to be installed separately, see VideoLAN.LibVLC.* packages.</Descri
3737
<PackageId>LibVLCSharp</PackageId>
3838
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
3939
<EnableDefaultPageItems>false</EnableDefaultPageItems>
40-
<RuntimeIdentifiers Condition="$(TargetFramework.Contains('net9.0-windows10'))">win-x86;win-x64;win-arm64</RuntimeIdentifiers>
40+
<RuntimeIdentifiers Condition="$(TargetFramework.Contains('net9.0-windows10'))">win-x86;win-x64;win-arm64</RuntimeIdentifiers>
41+
<!-- https://github.com/novotnyllc/MSBuildSdkExtras/issues/305 -->
42+
<TargetFrameworkIdentifier Condition=" $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) == '.NETCoreApp' ">.NETCoreApp</TargetFrameworkIdentifier>
4143
</PropertyGroup>
4244
<!--Override TFMs when building from the LVS.Win32 solution-->
4345
<PropertyGroup Condition="$(Configuration.StartsWith('Win32'))">

0 commit comments

Comments
 (0)