Skip to content

Commit 6ef258a

Browse files
committed
try workaround UAP issues
1 parent 6b56528 commit 6ef258a

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

samples/Uno/LibVLCSharp.Uno.Sample.UWP/LibVLCSharp.Uno.Sample.UWP.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
<AssemblyName>LibVLCSharp.Uno.Sample</AssemblyName>
2525
<DefaultLanguage>en-US</DefaultLanguage>
2626
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
27-
<TargetPlatformVersion>10.0.16299.0</TargetPlatformVersion>
28-
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
27+
<TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
28+
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
2929
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
3030
<FileAlignment>512</FileAlignment>
3131
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

samples/Uno/Sample.MediaPlayerElement/Sample.MediaPlayerElement.UWP/Sample.MediaPlayerElement.UWP.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
<AssemblyName>Sample.MediaPlayerElement</AssemblyName>
2525
<DefaultLanguage>en-US</DefaultLanguage>
2626
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
27-
<TargetPlatformVersion>10.0.16299.0</TargetPlatformVersion>
28-
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
27+
<TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
28+
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
2929
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
3030
<FileAlignment>512</FileAlignment>
3131
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

src/LibVLCSharp.Uno/LibVLCSharp.Uno.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@
44
<Title>LibVLCSharp.Uno</Title>
55
<Summary>Uno integration for LibVLCSharp</Summary>
66
<TargetFrameworks>xamarin.ios10;monoandroid81</TargetFrameworks>
7-
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);uap10.0.16299</TargetFrameworks>
7+
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);uap10.0.18362</TargetFrameworks>
88
<GenerateLibraryLayout>true</GenerateLibraryLayout>
99
<Description>LibVLCSharp.Uno is the integration of LibVLCSharp with the Uno Platform on Windows, iOS and Android.
1010

1111
It also contains a VLC MediaPlayerElement for the Uno Platform (UWP, Android, iOS)</Description>
1212
<PackageTags>$(PackageTags);uno</PackageTags>
1313
<RootNamespace>LibVLCSharp.Uno</RootNamespace>
1414
<PackageId>LibVLCSharp.Uno</PackageId>
15-
</PropertyGroup>
15+
</PropertyGroup>
16+
<PropertyGroup Condition="$(TargetFramework.StartsWith('uap'))">
17+
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
18+
</PropertyGroup>
1619
<ItemGroup>
1720
<Page Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
1821
<PRIResource Include="Strings\**\*.resw" />

src/LibVLCSharp/LibVLCSharp.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ If you need Xamarin.Forms support, see LibVLCSharp.Forms.
3030
LibVLC needs to be installed separately, see VideoLAN.LibVLC.* packages.</Description>
3131
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.1;net40;net471</TargetFrameworks>
3232
<TargetFrameworks Condition="!$([MSBuild]::IsOsPlatform('Linux'))">$(TargetFrameworks);monoandroid81;xamarin.ios10;xamarin.mac20</TargetFrameworks>
33-
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);uap10.0;uap10.0.16299;net6.0;net6.0-windows;net6.0-ios;net6.0-android;net6.0-tvos;net6.0-macos</TargetFrameworks>
33+
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);uap10.0.18362;net6.0;net6.0-windows;net6.0-ios;net6.0-android;net6.0-tvos;net6.0-macos</TargetFrameworks>
3434
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);IncludeAWindow</TargetsForTfmSpecificBuildOutput>
3535
<RootNamespace>LibVLCSharp</RootNamespace>
3636
<PackageId>LibVLCSharp</PackageId>
@@ -39,6 +39,7 @@ LibVLC needs to be installed separately, see VideoLAN.LibVLC.* packages.</Descri
3939
</PropertyGroup>
4040
<PropertyGroup Condition="$(TargetFramework.StartsWith('uap'))">
4141
<GenerateLibraryLayout>true</GenerateLibraryLayout>
42+
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
4243
</PropertyGroup>
4344
<ItemGroup>
4445
<Compile Remove="Platforms\**\*.cs" />

0 commit comments

Comments
 (0)