From 5041ae7b95886fd74b1e949db5ece5be72e47b66 Mon Sep 17 00:00:00 2001 From: wherewhere Date: Wed, 6 Sep 2023 17:52:12 +0800 Subject: [PATCH] Bring back uap10.0.15138.0 --- .../AdvancedSharpAdbClient.WinRT.csproj | 52 ++++++++++--------- Directory.Build.props | 10 +++- Directory.Build.targets | 3 +- README.md | 3 +- .../AdvancedSharpAdbClient.WinRT.UAP.targets | 13 +++-- 5 files changed, 50 insertions(+), 31 deletions(-) diff --git a/AdvancedSharpAdbClient.WinRT/AdvancedSharpAdbClient.WinRT.csproj b/AdvancedSharpAdbClient.WinRT/AdvancedSharpAdbClient.WinRT.csproj index 8afc604..cdf5938 100644 --- a/AdvancedSharpAdbClient.WinRT/AdvancedSharpAdbClient.WinRT.csproj +++ b/AdvancedSharpAdbClient.WinRT/AdvancedSharpAdbClient.WinRT.csproj @@ -8,14 +8,14 @@ NU1603;NU5100 bin\$(Configuration)\ bin\$(Platform)\$(Configuration)\ - uap10.0;net6.0-windows10.0.17763.0 + uap10.0;uap10.0.15138.0;net6.0-windows10.0.17763.0 net6.0-windows10.0.17763.0 - + true Full CS0419 @@ -44,31 +44,35 @@ Assets\build\%(FileName)%(Extension) - + Assets\build\native\%(FileName)%(Extension) - - - - - - - Assets\build\uap10.0\AdvancedSharpAdbClient.dll + + Assets\build\native\%(FileName)%(Extension) + + + Assets\build\uap10.0.15138\%(FileName)%(Extension) + + + + + + Assets\build\uap10.0\%(FileName)%(Extension) - - Assets\build\uap10.0\Microsoft.Extensions.Logging.Abstractions.dll + + Assets\build\uap10.0\%(FileName)%(Extension) - - Assets\build\uap10.0\System.Runtime.InteropServices.RuntimeInformation.dll + + Assets\build\uap10.0\%(FileName)%(Extension) - - Assets\build\uap10.0\System.Xml.XPath.dll + + Assets\build\uap10.0\%(FileName)%(Extension) - - Assets\build\uap10.0\System.Xml.XPath.XmlDocument.dll + + Assets\build\uap10.0\%(FileName)%(Extension) Assets\buildTransitive\%(FileName)%(Extension) @@ -79,14 +83,14 @@ Assets\hosting\%(RecursiveDir)\%(FileName)%(Extension) - - Assets\lib\net6.0-windows10.0.17763.0\winmd\AdvancedSharpAdbClient.WinRT.winmd + + Assets\lib\net6.0-windows10.0.17763.0\winmd\%(FileName)%(Extension) - - Assets\lib\net6.0-windows10.0.17763.0\winmd\WinRT.Host.Shim.winmd + + Assets\lib\net6.0-windows10.0.17763.0\winmd\%(FileName)%(Extension) - - Assets\lib\net6.0-windows10.0.17763.0\winmd\WinRT.Runtime.winmd + + Assets\lib\net6.0-windows10.0.17763.0\winmd\%(FileName)%(Extension) diff --git a/Directory.Build.props b/Directory.Build.props index 423ada6..6b9e243 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -34,6 +34,15 @@ + 10.0 + + + + 10.0.15138.0 + + + false en-US $(DefineConstants);WINDOWS_UWP @@ -42,7 +51,6 @@ .NETCore v5.0 UAP - 10.0 10.0.22621.0 diff --git a/Directory.Build.targets b/Directory.Build.targets index 7956b4a..ee31012 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -6,7 +6,8 @@ - + diff --git a/README.md b/README.md index ac67406..32cbf93 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ It's a WinRT package of [AdvancedSharpAdbClient](https://github.com/yungd1plomat ## Support Platform - UAP 10.0 -- .NET 6.0 - Windows 10.0.18362.0 +- UAP 10.0.15138.0 +- .NET 6.0 - Windows 10.0.17763.0 ## Installation To install AdvancedSharpAdbClient.WinRT install the [AdvancedSharpAdbClient.WinRT NuGetPackage](https://www.nuget.org/packages/AdvancedSharpAdbClient.WinRT). diff --git a/build/AdvancedSharpAdbClient.WinRT.UAP.targets b/build/AdvancedSharpAdbClient.WinRT.UAP.targets index 9a0b882..5fae7a8 100644 --- a/build/AdvancedSharpAdbClient.WinRT.UAP.targets +++ b/build/AdvancedSharpAdbClient.WinRT.UAP.targets @@ -1,5 +1,10 @@ + + true + <_TargetFramework Condition="'$(IsUseNetCore463)' != 'true'">uap10.0 + <_TargetFramework Condition="'$(IsUseNetCore463)' == 'true'">uap10.0.15138 + AdvancedSharpAdbClient_WinRTCopyAuthoringDlls;$(ResolveReferencesDependsOn) @@ -8,19 +13,19 @@ - + - + - + true - +