зеркало из https://github.com/xamarin/AndroidX.git
[buildtasks] remove Xamarin.AndroidX.Annotation.BuildTasks
The Annotation MSBuild tasks are currently unused in AndroidX: <!-- This task doesn't do anything really right now, but we might use it again in the future --> <!-- <UsingTask AssemblyFile="Xamarin.AndroidX.Annotation.BuildTasks.dll" TaskName="Xamarin.AndroidX.Annotation.BuildTasks.VerifyVersionsTask" /> It currently looks like we don't need them, so I think they can be safely removed. I would feel better to remove any MSBuild task projects that aren't targeting `netstandard2.0`, because they will not work in .NET 5+. If we bring these back in the future, we should start with a `netstandard2.0` project any not use `System.Web.Script.Serialization` for parsing JSON. I don't think we actually need to publish anything new after this is merged. This just cleans up this repo.
This commit is contained in:
Родитель
cbe9f5463a
Коммит
5342b53977
|
@ -3,8 +3,6 @@
|
|||
"slnFile" : "generated/AndroidX.sln",
|
||||
"additionalProjects":
|
||||
[
|
||||
"source/buildtasks/annotation/Annotation-BuildTasks.csproj",
|
||||
"source/buildtasks/annotation-tests/Annotation-BuildTasks-Tests.csproj",
|
||||
"source/migration/Dummy/Xamarin.AndroidX.Migration.Dummy.csproj"
|
||||
],
|
||||
"templates" : [
|
||||
|
|
|
@ -187,15 +187,6 @@
|
|||
}
|
||||
</ItemGroup>
|
||||
|
||||
@if (false && @Model.NuGetPackageId == "Xamarin.AndroidX.Annotation")
|
||||
{
|
||||
// Disabled as this build task doesn't really do anything anymore but we may use it again in the future
|
||||
<ItemGroup>
|
||||
<None Include="..\..\source\buildtasks\annotation\bin\$(Configuration)\Xamarin.AndroidX.Annotation.BuildTasks.dll" Pack="True" PackagePath="build\$(TargetFramework)" />
|
||||
<None Include="..\..\source\buildtasks\annotation\bin\$(Configuration)\Xamarin.AndroidX.Annotation.BuildTasks.dll" Pack="True" PackagePath="buildTransitive\$(TargetFramework)" />
|
||||
</ItemGroup>
|
||||
}
|
||||
|
||||
@if (@Model.NuGetPackageId == "Xamarin.AndroidX.Annotation")
|
||||
{
|
||||
<ItemGroup>
|
||||
|
|
|
@ -1,26 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<!-- This task doesn't do anything really right now, but we might use it again in the future -->
|
||||
<!-- <UsingTask
|
||||
AssemblyFile="Xamarin.AndroidX.Annotation.BuildTasks.dll"
|
||||
TaskName="Xamarin.AndroidX.Annotation.BuildTasks.VerifyVersionsTask" />
|
||||
|
||||
<Target
|
||||
Name="_VerifyXamarinAndroidXVersions"
|
||||
AfterTargets="ResolveAssemblyReferences">
|
||||
|
||||
<VerifyVersionsTask
|
||||
TargetFrameworkVersion="$(TargetFrameworkVersion)"
|
||||
TargetApiLevel="$(_AndroidApiLevel)"
|
||||
AndroidSdkBuildToolsVersion="$(AndroidSdkBuildToolsVersion)"
|
||||
ProjectExtensionsPath="$(MSBuildProjectExtensionsPath)"
|
||||
ProjectPath="$(MSBuildProjectDirectory)"
|
||||
>
|
||||
</VerifyVersionsTask>
|
||||
|
||||
</Target> -->
|
||||
|
||||
<!--
|
||||
***************************************************************************
|
||||
* GET EXTRA LIBRARY LOCATIONS FOR DESIGNER
|
||||
|
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\..\packages\xunit.runner.visualstudio.2.4.0\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\..\packages\xunit.runner.visualstudio.2.4.0\build\net20\xunit.runner.visualstudio.props')" />
|
||||
<Import Project="..\..\packages\xunit.core.2.4.0\build\xunit.core.props" Condition="Exists('..\..\packages\xunit.core.2.4.0\build\xunit.core.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{9A8F8560-6F80-4FCD-8F8E-CEA80FE12F45}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>buildtasks.tests</RootNamespace>
|
||||
<AssemblyName>buildtasks.tests</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="xunit" Version="2.4.0" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" version="2.4.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="Microsoft.Build.Utilities.v4.0" />
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Tests.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="TestData\project.assets.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Folder Include="TestData\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\annotation\Annotation-BuildTasks.csproj">
|
||||
<Project>{21CE9566-FE09-4FEA-BE0F-4864083CD9D1}</Project>
|
||||
<Name>Annotation-BuildTasks</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Target Name="Pack">
|
||||
</Target>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
|
@ -1,26 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
// Information about this assembly is defined by the following attributes.
|
||||
// Change them to the values specific to your project.
|
||||
|
||||
[assembly: AssemblyTitle("buildtasks.tests")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyCopyright("${AuthorCopyright}")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
|
||||
[assembly: AssemblyVersion("1.0.*")]
|
||||
|
||||
// The following attributes are used to specify the signing key for the assembly,
|
||||
// if desired. See the Mono documentation for more information about signing.
|
||||
|
||||
//[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyFile("")]
|
|
@ -1,859 +0,0 @@
|
|||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"MonoAndroid,Version=v8.1": {
|
||||
"System.Numerics.Vectors/4.5.0": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"ref/MonoAndroid10/_._": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid10/_._": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.Animated.Vector.Drawable/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Vector.Drawable": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Animated.Vector.Drawable.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Animated.Vector.Drawable.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Animated.Vector.Drawable.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.Annotations/25.4.0.2": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Annotations.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Annotations.dll": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.Compat/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Annotations": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Compat.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Compat.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Compat.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.Core.UI/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Compat": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Core.UI.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Core.UI.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Core.UI.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.Core.Utils/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Compat": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Core.Utils.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Core.Utils.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Core.Utils.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.CustomTabs/27.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Compat": "[27.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid81/Xamarin.Android.Support.CustomTabs.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid81/Xamarin.Android.Support.CustomTabs.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid81/_._": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.Design/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Compat": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Core.UI": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Core.Utils": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Fragment": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Media.Compat": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Transition": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.v7.AppCompat": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.v7.RecyclerView": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Design.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Design.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Design.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.Fragment/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Compat": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Core.UI": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Core.Utils": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Media.Compat": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Fragment.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Fragment.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Fragment.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.Media.Compat/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Compat": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Media.Compat.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Media.Compat.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Media.Compat.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.Transition/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Compat": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Core.UI": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Core.Utils": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Fragment": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Media.Compat": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Transition.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Transition.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Transition.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.v4/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Compat": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Core.UI": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Core.Utils": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Fragment": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Media.Compat": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v4.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v4.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.v4.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.v7.AppCompat/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Animated.Vector.Drawable": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Compat": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Core.UI": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Core.Utils": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Fragment": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Media.Compat": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Vector.Drawable": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.AppCompat.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.AppCompat.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.v7.AppCompat.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.v7.CardView/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Annotations": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.CardView.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.CardView.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.v7.CardView.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.v7.MediaRouter/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.v7.AppCompat": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.v7.Palette": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.MediaRouter.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.MediaRouter.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.v7.MediaRouter.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.v7.Palette/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Compat": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Core.Utils": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.Palette.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.Palette.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.v7.Palette.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.v7.RecyclerView/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Compat": "[25.4.0.2]",
|
||||
"Xamarin.Android.Support.Core.UI": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.RecyclerView.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.RecyclerView.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.v7.RecyclerView.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Android.Support.Vector.Drawable/25.4.0.2": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Compat": "[25.4.0.2]"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Vector.Drawable.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Vector.Drawable.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Vector.Drawable.targets": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Essentials/0.9.1-preview": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"System.Numerics.Vectors": "4.5.0",
|
||||
"Xamarin.Android.Support.Core.Utils": "27.0.2",
|
||||
"Xamarin.Android.Support.CustomTabs": "27.0.2"
|
||||
},
|
||||
"frameworkAssemblies": [
|
||||
"Java.Interop",
|
||||
"System.Numerics",
|
||||
"System.Numerics.Vectors"
|
||||
],
|
||||
"compile": {
|
||||
"lib/monoandroid81/Xamarin.Essentials.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/monoandroid81/Xamarin.Essentials.dll": {}
|
||||
}
|
||||
},
|
||||
"Xamarin.Forms/3.1.0.506097-nightly": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Xamarin.Android.Support.Design": "25.4.0.2",
|
||||
"Xamarin.Android.Support.v4": "25.4.0.2",
|
||||
"Xamarin.Android.Support.v7.AppCompat": "25.4.0.2",
|
||||
"Xamarin.Android.Support.v7.CardView": "25.4.0.2",
|
||||
"Xamarin.Android.Support.v7.MediaRouter": "25.4.0.2"
|
||||
},
|
||||
"compile": {
|
||||
"lib/MonoAndroid10/FormsViewGroup.dll": {},
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Core.dll": {},
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Platform.Android.dll": {},
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Platform.dll": {},
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Xaml.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/MonoAndroid10/FormsViewGroup.dll": {},
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Core.dll": {},
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Platform.Android.dll": {},
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Platform.dll": {},
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Xaml.dll": {}
|
||||
},
|
||||
"build": {
|
||||
"build/netstandard2.0/Xamarin.Forms.props": {},
|
||||
"build/netstandard2.0/Xamarin.Forms.targets": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"System.Numerics.Vectors/4.5.0": {
|
||||
"sha512": "MNcaYxUJvUcoXOa+jgKl/GDw/Mh+wMrxDjW4dre7qrp35LUGTjUBNtZsNjxsWX592ocdyqt1X5hMJB+5OStoYw==",
|
||||
"type": "package",
|
||||
"path": "system.numerics.vectors/4.5.0",
|
||||
"files": [
|
||||
".signature.p7s",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"lib/MonoAndroid10/_._",
|
||||
"lib/MonoTouch10/_._",
|
||||
"lib/net46/System.Numerics.Vectors.dll",
|
||||
"lib/net46/System.Numerics.Vectors.xml",
|
||||
"lib/netcoreapp2.0/_._",
|
||||
"lib/netstandard1.0/System.Numerics.Vectors.dll",
|
||||
"lib/netstandard1.0/System.Numerics.Vectors.xml",
|
||||
"lib/netstandard2.0/System.Numerics.Vectors.dll",
|
||||
"lib/netstandard2.0/System.Numerics.Vectors.xml",
|
||||
"lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.dll",
|
||||
"lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.xml",
|
||||
"lib/uap10.0.16299/_._",
|
||||
"lib/xamarinios10/_._",
|
||||
"lib/xamarinmac20/_._",
|
||||
"lib/xamarintvos10/_._",
|
||||
"lib/xamarinwatchos10/_._",
|
||||
"ref/MonoAndroid10/_._",
|
||||
"ref/MonoTouch10/_._",
|
||||
"ref/net45/System.Numerics.Vectors.dll",
|
||||
"ref/net45/System.Numerics.Vectors.xml",
|
||||
"ref/net46/System.Numerics.Vectors.dll",
|
||||
"ref/net46/System.Numerics.Vectors.xml",
|
||||
"ref/netcoreapp2.0/_._",
|
||||
"ref/netstandard1.0/System.Numerics.Vectors.dll",
|
||||
"ref/netstandard1.0/System.Numerics.Vectors.xml",
|
||||
"ref/netstandard2.0/System.Numerics.Vectors.dll",
|
||||
"ref/netstandard2.0/System.Numerics.Vectors.xml",
|
||||
"ref/uap10.0.16299/_._",
|
||||
"ref/xamarinios10/_._",
|
||||
"ref/xamarinmac20/_._",
|
||||
"ref/xamarintvos10/_._",
|
||||
"ref/xamarinwatchos10/_._",
|
||||
"system.numerics.vectors.4.5.0.nupkg.sha512",
|
||||
"system.numerics.vectors.nuspec",
|
||||
"useSharedDesignerContext.txt",
|
||||
"version.txt"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.Animated.Vector.Drawable/25.4.0.2": {
|
||||
"sha512": "SaSUvYnc6ntGD/Rvo8O+Ks1yS5hgMFUPfPIEsBC337weZzyIeInKQJHt2myxCEER/5UutmBPlptlbn9Yki21RA==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.animated.vector.drawable/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Animated.Vector.Drawable.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Animated.Vector.Drawable.dll",
|
||||
"proguard/proguard.txt",
|
||||
"xamarin.android.support.animated.vector.drawable.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.animated.vector.drawable.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.Annotations/25.4.0.2": {
|
||||
"sha512": "4Gkj6OCOJO7jn4drGZxeCCaEVHOjUu0RzsEzZaAZJzrLNqEHqoYrKwIlbsecfEpjbAcyT77Sb8wkZnZNFPdlaA==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.annotations/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Annotations.dll",
|
||||
"xamarin.android.support.annotations.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.annotations.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.Compat/25.4.0.2": {
|
||||
"sha512": "k+bZ2ArXV7x1U5xomEiCVRoWHAWr6VKhF6Ziqd1DdK4ZZ4W+J0Dsi5oR2QcQHhIodb7j7cfuDcBAEs0KYvOmuQ==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.compat/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Compat.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Compat.dll",
|
||||
"xamarin.android.support.compat.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.compat.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.Core.UI/25.4.0.2": {
|
||||
"sha512": "RKU0D2joAnk9bawGoS1/AGg+2CurKd4uK+ToYyueNN0iJTs3K/ZvnUGck8FGl6Iy8Hfy6NySv51ubMlFSXATuA==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.core.ui/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Core.UI.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Core.UI.dll",
|
||||
"proguard/proguard.txt",
|
||||
"xamarin.android.support.core.ui.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.core.ui.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.Core.Utils/25.4.0.2": {
|
||||
"sha512": "ZF+yk8b1WVRfgmf3MNeUOVdd9Bq3EoIYsXjCW2sAouwbNsnPKyjwL91mYyVcoT5f8Sf0SL866GnBtRi14wQesQ==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.core.utils/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Core.Utils.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Core.Utils.dll",
|
||||
"xamarin.android.support.core.utils.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.core.utils.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.CustomTabs/27.0.2": {
|
||||
"sha512": "j5CHzgUcacHxNXeZXJw0dRYhsTxkfI5IHsCo1FzEIv8jinuBAy1fIEkGsFB4hNlq1Y4obcZb9ub72t/g/D+dSw==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.customtabs/27.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid81/Xamarin.Android.Support.CustomTabs.targets",
|
||||
"lib/MonoAndroid81/Xamarin.Android.Support.CustomTabs.dll",
|
||||
"xamarin.android.support.customtabs.27.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.customtabs.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.Design/25.4.0.2": {
|
||||
"sha512": "V7eOsG2XYLFDcH69ZJxywa2PrgFLi2tVpmft3iJ1vHrzeagI33dAVxDuh41r+TW6NVqPwBRQ5DRkAPZjwSAkeA==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.design/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Design.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Design.dll",
|
||||
"proguard/proguard.txt",
|
||||
"xamarin.android.support.design.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.design.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.Fragment/25.4.0.2": {
|
||||
"sha512": "XBllQS9m18CvYj8Uzqr78p/9x2rUNOBMh/2PALayzXwhArCvXdE+pybzSi/+4jtcZc8w/06kWhqdXq/phrhBCw==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.fragment/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Fragment.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Fragment.dll",
|
||||
"xamarin.android.support.fragment.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.fragment.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.Media.Compat/25.4.0.2": {
|
||||
"sha512": "cnjIL1GoLUifD1TA3QigOn9R3yKoidzahlS5GQHVYhO3AoZ5mknqWiZ7IbU9lVFVlMbVvI65ecSiG5j4T2ufCg==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.media.compat/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Media.Compat.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Media.Compat.dll",
|
||||
"xamarin.android.support.media.compat.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.media.compat.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.Transition/25.4.0.2": {
|
||||
"sha512": "sZJTv1NRfGwjzVFW8hn4SmJsrK7EXRAvEKu8aR9HKyg8Cw4QfbYLEN4hartq7AmwKJW492ksXzWnIjp0BnKjUQ==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.transition/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Transition.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Transition.dll",
|
||||
"xamarin.android.support.transition.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.transition.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.v4/25.4.0.2": {
|
||||
"sha512": "Ui29//+zltXe4Z+OmzdwjLWRGdcmCAm4sklF/As/dEwALxur8vff7/C4rIm/khJNo1ZbeKYnVseaaia/TsZeTA==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.v4/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.v4.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v4.dll",
|
||||
"xamarin.android.support.v4.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.v4.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.v7.AppCompat/25.4.0.2": {
|
||||
"sha512": "A3P9Hpw8FAGuZISw3hYZE6OjJwjDRbvoEJvsey0ZXmBFI/j4w8YBlwN+SsQse1oEx1yzYAXQwnU/KIYEuHMkQw==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.v7.appcompat/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.v7.AppCompat.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.AppCompat.dll",
|
||||
"xamarin.android.support.v7.appcompat.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.v7.appcompat.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.v7.CardView/25.4.0.2": {
|
||||
"sha512": "qVTkEeV+2vMpVOzvC+Ear4ZoYOPP2IWXaRDa7Lrg6ebVgg654nE8ARJfhaRqVczg2CwlgZm++uc9gDgASMV7iA==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.v7.cardview/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.v7.CardView.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.CardView.dll",
|
||||
"xamarin.android.support.v7.cardview.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.v7.cardview.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.v7.MediaRouter/25.4.0.2": {
|
||||
"sha512": "HhNwWkbgUXE7g8wRt87AgUeBlurdczIzjeIcK8WMnXdn7iUcjF1uIh+IYjNXiY7DFVuyzew73UHRM0d8RjnM1A==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.v7.mediarouter/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.v7.MediaRouter.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.MediaRouter.dll",
|
||||
"xamarin.android.support.v7.mediarouter.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.v7.mediarouter.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.v7.Palette/25.4.0.2": {
|
||||
"sha512": "cMvjdILPDccRbAHAeKzqdCtkRHAt/lfDprc/D7oF7fFwgrzxEsv+k1oK9ix3TsQrTStnGmmbBd/Zx8xMoH9qeQ==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.v7.palette/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.v7.Palette.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.Palette.dll",
|
||||
"xamarin.android.support.v7.palette.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.v7.palette.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.v7.RecyclerView/25.4.0.2": {
|
||||
"sha512": "rBEs2Lk4P967ejGGWf+Wbk4OBuMmvv8XLbpJ2QZ+8YyXecMexzQTFaBj7DeUfqjJTSbAEhQJYltY0g7m6XYA+A==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.v7.recyclerview/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.v7.RecyclerView.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.v7.RecyclerView.dll",
|
||||
"proguard/proguard.txt",
|
||||
"xamarin.android.support.v7.recyclerview.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.v7.recyclerview.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Android.Support.Vector.Drawable/25.4.0.2": {
|
||||
"sha512": "2zAGVOqmuhp/QCvDFmXkqvx+cJ5sMHFsZuwvoPEkx6mDRDo5sfPJaQzfiODquCL6EIs/vwoW+vHOcdFRbl+TLg==",
|
||||
"type": "package",
|
||||
"path": "xamarin.android.support.vector.drawable/25.4.0.2",
|
||||
"files": [
|
||||
"THIRD-PARTY-NOTICES.txt",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Tasks.VectorDrawable.dll",
|
||||
"build/MonoAndroid70/Xamarin.Android.Support.Vector.Drawable.targets",
|
||||
"lib/MonoAndroid70/Xamarin.Android.Support.Vector.Drawable.dll",
|
||||
"xamarin.android.support.vector.drawable.25.4.0.2.nupkg.sha512",
|
||||
"xamarin.android.support.vector.drawable.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Essentials/0.9.1-preview": {
|
||||
"sha512": "zjrF1D7bDb2eov6rYiBteoXZMnFqEESwLNUxlFdwtH3S2KXhLWyVxcAar6HE2pez2n6ZPpiDwH7Q5JYDPxXgDw==",
|
||||
"type": "package",
|
||||
"path": "xamarin.essentials/0.9.1-preview",
|
||||
"files": [
|
||||
".signature.p7s",
|
||||
"lib/monoandroid71/Xamarin.Essentials.dll",
|
||||
"lib/monoandroid71/Xamarin.Essentials.xml",
|
||||
"lib/monoandroid80/Xamarin.Essentials.dll",
|
||||
"lib/monoandroid80/Xamarin.Essentials.xml",
|
||||
"lib/monoandroid81/Xamarin.Essentials.dll",
|
||||
"lib/monoandroid81/Xamarin.Essentials.xml",
|
||||
"lib/netstandard1.0/Xamarin.Essentials.dll",
|
||||
"lib/netstandard1.0/Xamarin.Essentials.xml",
|
||||
"lib/netstandard2.0/Xamarin.Essentials.dll",
|
||||
"lib/netstandard2.0/Xamarin.Essentials.xml",
|
||||
"lib/uap10.0.16299/Xamarin.Essentials.dll",
|
||||
"lib/uap10.0.16299/Xamarin.Essentials.pri",
|
||||
"lib/uap10.0.16299/Xamarin.Essentials.xml",
|
||||
"lib/xamarinios10/Xamarin.Essentials.dll",
|
||||
"lib/xamarinios10/Xamarin.Essentials.xml",
|
||||
"readme.txt",
|
||||
"xamarin.essentials.0.9.1-preview.nupkg.sha512",
|
||||
"xamarin.essentials.nuspec"
|
||||
]
|
||||
},
|
||||
"Xamarin.Forms/3.1.0.506097-nightly": {
|
||||
"sha512": "kNGwPY5sbf0iZ1BzoZET58XbtV5PoH6q6XMy+ZUNVMRmLJ4OvJdaoxnEWW+qtVykPYCI+zbc7B4GfCZkeEORKw==",
|
||||
"type": "package",
|
||||
"path": "xamarin.forms/3.1.0.506097-nightly",
|
||||
"files": [
|
||||
"build/netstandard1.0/Mono.Cecil.Mdb.dll",
|
||||
"build/netstandard1.0/Mono.Cecil.Pdb.dll",
|
||||
"build/netstandard1.0/Mono.Cecil.Rocks.dll",
|
||||
"build/netstandard1.0/Mono.Cecil.dll",
|
||||
"build/netstandard1.0/System.CodeDom.dll",
|
||||
"build/netstandard1.0/Xamarin.Forms.Build.Tasks.dll",
|
||||
"build/netstandard1.0/Xamarin.Forms.Core.dll",
|
||||
"build/netstandard1.0/Xamarin.Forms.DefaultItems.props",
|
||||
"build/netstandard1.0/Xamarin.Forms.DefaultItems.targets",
|
||||
"build/netstandard1.0/Xamarin.Forms.Xaml.dll",
|
||||
"build/netstandard1.0/Xamarin.Forms.props",
|
||||
"build/netstandard1.0/Xamarin.Forms.targets",
|
||||
"build/netstandard2.0/Mono.Cecil.Mdb.dll",
|
||||
"build/netstandard2.0/Mono.Cecil.Pdb.dll",
|
||||
"build/netstandard2.0/Mono.Cecil.Rocks.dll",
|
||||
"build/netstandard2.0/Mono.Cecil.dll",
|
||||
"build/netstandard2.0/System.CodeDom.dll",
|
||||
"build/netstandard2.0/Xamarin.Forms.Build.Tasks.dll",
|
||||
"build/netstandard2.0/Xamarin.Forms.Core.dll",
|
||||
"build/netstandard2.0/Xamarin.Forms.DefaultItems.props",
|
||||
"build/netstandard2.0/Xamarin.Forms.DefaultItems.targets",
|
||||
"build/netstandard2.0/Xamarin.Forms.Xaml.dll",
|
||||
"build/netstandard2.0/Xamarin.Forms.props",
|
||||
"build/netstandard2.0/Xamarin.Forms.targets",
|
||||
"lib/MonoAndroid10/Design/Xamarin.Forms.Core.Design.dll",
|
||||
"lib/MonoAndroid10/Design/Xamarin.Forms.Xaml.Design.dll",
|
||||
"lib/MonoAndroid10/FormsViewGroup.dll",
|
||||
"lib/MonoAndroid10/FormsViewGroup.pdb",
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Core.dll",
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Core.pdb",
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Core.xml",
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Platform.Android.dll",
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Platform.Android.pdb",
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Platform.dll",
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Xaml.dll",
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Xaml.pdb",
|
||||
"lib/MonoAndroid10/Xamarin.Forms.Xaml.xml",
|
||||
"lib/Xamarin.Mac/Design/Xamarin.Forms.Core.Design.dll",
|
||||
"lib/Xamarin.Mac/Design/Xamarin.Forms.Xaml.Design.dll",
|
||||
"lib/Xamarin.Mac/Xamarin.Forms.Core.dll",
|
||||
"lib/Xamarin.Mac/Xamarin.Forms.Platform.dll",
|
||||
"lib/Xamarin.Mac/Xamarin.Forms.Platform.macOS.dll",
|
||||
"lib/Xamarin.Mac/Xamarin.Forms.Xaml.dll",
|
||||
"lib/Xamarin.iOS10/Design/Xamarin.Forms.Core.Design.dll",
|
||||
"lib/Xamarin.iOS10/Design/Xamarin.Forms.Xaml.Design.dll",
|
||||
"lib/Xamarin.iOS10/Xamarin.Forms.Core.dll",
|
||||
"lib/Xamarin.iOS10/Xamarin.Forms.Core.pdb",
|
||||
"lib/Xamarin.iOS10/Xamarin.Forms.Core.xml",
|
||||
"lib/Xamarin.iOS10/Xamarin.Forms.Platform.dll",
|
||||
"lib/Xamarin.iOS10/Xamarin.Forms.Platform.iOS.dll",
|
||||
"lib/Xamarin.iOS10/Xamarin.Forms.Platform.iOS.pdb",
|
||||
"lib/Xamarin.iOS10/Xamarin.Forms.Xaml.dll",
|
||||
"lib/Xamarin.iOS10/Xamarin.Forms.Xaml.pdb",
|
||||
"lib/Xamarin.iOS10/Xamarin.Forms.Xaml.xml",
|
||||
"lib/Xamarin.iOS10/ar/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/ca/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/cs/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/da/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/de/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/el/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/es/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/fi/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/fr/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/he/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/hi/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/hr/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/hu/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/id/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/it/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/ja/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/ko/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/ms/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/nb/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/nl/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/pl/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/pt-BR/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/pt/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/ro/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/ru/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/sk/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/sv/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/th/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/tr/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/uk/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/vi/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/zh-HK/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/zh-Hans/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/Xamarin.iOS10/zh-Hant/Xamarin.Forms.Platform.iOS.resources.dll",
|
||||
"lib/netstandard1.0/Design/Xamarin.Forms.Core.Design.dll",
|
||||
"lib/netstandard1.0/Design/Xamarin.Forms.Xaml.Design.dll",
|
||||
"lib/netstandard1.0/Xamarin.Forms.Core.dll",
|
||||
"lib/netstandard1.0/Xamarin.Forms.Core.pdb",
|
||||
"lib/netstandard1.0/Xamarin.Forms.Core.xml",
|
||||
"lib/netstandard1.0/Xamarin.Forms.Platform.dll",
|
||||
"lib/netstandard1.0/Xamarin.Forms.Xaml.dll",
|
||||
"lib/netstandard1.0/Xamarin.Forms.Xaml.pdb",
|
||||
"lib/netstandard1.0/Xamarin.Forms.Xaml.xml",
|
||||
"lib/netstandard2.0/Design/Xamarin.Forms.Core.Design.dll",
|
||||
"lib/netstandard2.0/Design/Xamarin.Forms.Xaml.Design.dll",
|
||||
"lib/netstandard2.0/Xamarin.Forms.Core.dll",
|
||||
"lib/netstandard2.0/Xamarin.Forms.Core.pdb",
|
||||
"lib/netstandard2.0/Xamarin.Forms.Core.xml",
|
||||
"lib/netstandard2.0/Xamarin.Forms.Platform.dll",
|
||||
"lib/netstandard2.0/Xamarin.Forms.Xaml.dll",
|
||||
"lib/netstandard2.0/Xamarin.Forms.Xaml.pdb",
|
||||
"lib/netstandard2.0/Xamarin.Forms.Xaml.xml",
|
||||
"lib/tizen40/Design/Xamarin.Forms.Core.Design.dll",
|
||||
"lib/tizen40/Design/Xamarin.Forms.Xaml.Design.dll",
|
||||
"lib/tizen40/Xamarin.Forms.Core.dll",
|
||||
"lib/tizen40/Xamarin.Forms.Core.pdb",
|
||||
"lib/tizen40/Xamarin.Forms.Core.xml",
|
||||
"lib/tizen40/Xamarin.Forms.Platform.Tizen.dll",
|
||||
"lib/tizen40/Xamarin.Forms.Platform.Tizen.pdb",
|
||||
"lib/tizen40/Xamarin.Forms.Platform.dll",
|
||||
"lib/tizen40/Xamarin.Forms.Xaml.dll",
|
||||
"lib/tizen40/Xamarin.Forms.Xaml.pdb",
|
||||
"lib/tizen40/Xamarin.Forms.Xaml.xml",
|
||||
"lib/uap10.0/Design/Xamarin.Forms.Core.Design.dll",
|
||||
"lib/uap10.0/Design/Xamarin.Forms.Xaml.Design.dll",
|
||||
"lib/uap10.0/Xamarin.Forms.Core.dll",
|
||||
"lib/uap10.0/Xamarin.Forms.Core.xml",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP.pri",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/AutoSuggestStyle.xbf",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/FormsCommandBarStyle.xbf",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/FormsEmbeddedPageWrapper.xbf",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/FormsFlyout.xbf",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/FormsProgressBarStyle.xbf",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/FormsTextBoxStyle.xbf",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/MasterDetailControlStyle.xbf",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/PageControlStyle.xbf",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/Properties/Xamarin.Forms.Platform.UAP.rd.xml",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/Resources.xbf",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/SliderStyle.xbf",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/TabbedPageStyle.xbf",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.UAP/Xamarin.Forms.Platform.UAP.xr.xml",
|
||||
"lib/uap10.0/Xamarin.Forms.Platform.dll",
|
||||
"lib/uap10.0/Xamarin.Forms.Xaml.dll",
|
||||
"lib/uap10.0/Xamarin.Forms.Xaml.xml",
|
||||
"xamarin.forms.3.1.0.506097-nightly.nupkg.sha512",
|
||||
"xamarin.forms.nuspec"
|
||||
]
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"MonoAndroid,Version=v8.1": [
|
||||
"Xamarin.Android.Support.Compat >= 25.4.0.2",
|
||||
"Xamarin.Android.Support.Core.UI >= 25.4.0.2",
|
||||
"Xamarin.Android.Support.Core.Utils >= 25.4.0.2",
|
||||
"Xamarin.Android.Support.Fragment >= 25.4.0.2",
|
||||
"Xamarin.Essentials >= 0.9.1-preview",
|
||||
"Xamarin.Forms >= 3.1.0.506097-nightly"
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"/Users/redth/.nuget/packages/": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/Users/redth/Projects/ScratchFatSupport/ScratchFatSupport/ScratchFatSupport.csproj",
|
||||
"projectName": "ScratchFatSupport",
|
||||
"projectPath": "/Users/redth/Projects/ScratchFatSupport/ScratchFatSupport/ScratchFatSupport.csproj",
|
||||
"packagesPath": "/Users/redth/.nuget/packages/",
|
||||
"outputPath": "/Users/redth/Projects/ScratchFatSupport/ScratchFatSupport/obj",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/Users/redth/.config/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"monoandroid81"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"monoandroid81": {
|
||||
"projectReferences": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"monoandroid81": {
|
||||
"dependencies": {
|
||||
"Xamarin.Forms": {
|
||||
"target": "Package",
|
||||
"version": "3.1.0.506097-nightly"
|
||||
},
|
||||
"Xamarin.Essentials": {
|
||||
"target": "Package",
|
||||
"version": "0.9.1-preview"
|
||||
},
|
||||
"Xamarin.Android.Support.Compat": {
|
||||
"target": "Package",
|
||||
"version": "25.4.0.2"
|
||||
},
|
||||
"Xamarin.Android.Support.Core.Utils": {
|
||||
"target": "Package",
|
||||
"version": "25.4.0.2"
|
||||
},
|
||||
"Xamarin.Android.Support.Core.UI": {
|
||||
"target": "Package",
|
||||
"version": "25.4.0.2"
|
||||
},
|
||||
"Xamarin.Android.Support.Fragment": {
|
||||
"target": "Package",
|
||||
"version": "25.4.0.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"logs": [
|
||||
{
|
||||
"code": "NU1605",
|
||||
"level": "Warning",
|
||||
"warningLevel": 1,
|
||||
"message": "Detected package downgrade: Xamarin.Android.Support.Core.Utils from 27.0.2 to 25.4.0.2. Reference the package directly from the project to select a different version. \n ScratchFatSupport (>= 1.0.0) -> Xamarin.Essentials (>= 0.9.1-preview) -> Xamarin.Android.Support.Core.Utils (>= 27.0.2) \n ScratchFatSupport (>= 1.0.0) -> Xamarin.Android.Support.Core.Utils (>= 25.4.0.2)",
|
||||
"libraryId": "Xamarin.Android.Support.Core.Utils",
|
||||
"targetGraphs": [
|
||||
"MonoAndroid,Version=v8.1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": "NU1605",
|
||||
"level": "Warning",
|
||||
"warningLevel": 1,
|
||||
"message": "Detected package downgrade: Xamarin.Android.Support.Compat from 27.0.2 to 25.4.0.2. Reference the package directly from the project to select a different version. \n ScratchFatSupport (>= 1.0.0) -> Xamarin.Essentials (>= 0.9.1-preview) -> Xamarin.Android.Support.CustomTabs (>= 27.0.2) -> Xamarin.Android.Support.Compat (= 27.0.2) \n ScratchFatSupport (>= 1.0.0) -> Xamarin.Android.Support.Compat (>= 25.4.0.2)",
|
||||
"libraryId": "Xamarin.Android.Support.Compat",
|
||||
"targetGraphs": [
|
||||
"MonoAndroid,Version=v8.1"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,61 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Runtime.Serialization.Json;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web.Script.Serialization;
|
||||
using Xunit;
|
||||
|
||||
namespace Xamarin.AndroidX.Annotation.BuildTasks.Tests
|
||||
{
|
||||
public class Tests
|
||||
{
|
||||
[Fact]
|
||||
public void Test_Get_Project_Asset_Nugets()
|
||||
{
|
||||
var path = Path.Combine(AppDomain.CurrentDomain.SetupInformation.ApplicationBase, "TestData");
|
||||
|
||||
var packageVersions = new Dictionary<string, string>();
|
||||
NugetPackages.GatherProjectJsonVersions(
|
||||
VerifyVersionsTask.AndroidXPackagePrefix,
|
||||
path,
|
||||
VerifyVersionsTask.ExcludedAndroidXPackages,
|
||||
new Version(8, 1),
|
||||
packageVersions);
|
||||
|
||||
Assert.NotEmpty(packageVersions);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Test_Should_Detect_Multiple_Versions_Project_Assets()
|
||||
{
|
||||
var path = Path.Combine(AppDomain.CurrentDomain.SetupInformation.ApplicationBase, "TestData");
|
||||
|
||||
var packageVersions = new Dictionary<string, string>();
|
||||
NugetPackages.GatherProjectJsonVersions(
|
||||
VerifyVersionsTask.AndroidXPackagePrefix,
|
||||
path,
|
||||
VerifyVersionsTask.ExcludedAndroidXPackages,
|
||||
new Version(8, 1),
|
||||
packageVersions);
|
||||
|
||||
Assert.NotEmpty(packageVersions);
|
||||
|
||||
var distinctVersions = NugetPackages.GetDistinctVersions(VerifyVersionsTask.AndroidXPackagePrefix, VerifyVersionsTask.ExcludedAndroidXPackages, packageVersions);
|
||||
|
||||
Assert.True(distinctVersions > 1);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(23, "23.x")]
|
||||
[InlineData(24, "24.x")]
|
||||
[InlineData(25, "25.4.0.2")]
|
||||
[InlineData(26, "26.1.0.1")]
|
||||
public async Task Test_Recommended_NuGet_Version(int apiLevel, string expectedVersion)
|
||||
{
|
||||
var v = await NugetPackages.GetRecommendedSupportPackageVersion(apiLevel);
|
||||
|
||||
Assert.Equal(expectedVersion, v);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,64 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{21CE9566-FE09-4FEA-BE0F-4864083CD9D1}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>Xamarin.AndroidX.Annotation.BuildTasks</RootNamespace>
|
||||
<AssemblyName>Xamarin.AndroidX.Annotation.BuildTasks</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
<LangVersion>7.2</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
<LangVersion>7.2</LangVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="Microsoft.Build" />
|
||||
<Reference Include="Microsoft.Build.Engine" />
|
||||
<Reference Include="Microsoft.Build.Framework" />
|
||||
<Reference Include="Microsoft.Build.Utilities.v4.0" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Net.Http">
|
||||
<HintPath>..\..\..\..\..\..\Library\Frameworks\Mono.framework\Versions\5.16.0\lib\mono\xbuild\Microsoft\Microsoft.NET.Build.Extensions\net461\lib\System.Net.Http.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="VerifyVersionsTask.cs" />
|
||||
<Compile Include="Models\ProjectAssets.cs" />
|
||||
<Compile Include="NugetPackages.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\androidx.annotation\annotation\merge.targets">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Models\" />
|
||||
</ItemGroup>
|
||||
<Target Name="Pack">
|
||||
</Target>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
|
@ -1,37 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Xamarin.AndroidX.Annotation.BuildTasks.Models
|
||||
{
|
||||
[DataContract]
|
||||
[Serializable]
|
||||
public partial class ProjectAssets
|
||||
{
|
||||
[DataMember(Name="version")]
|
||||
public long Version { get; set; }
|
||||
|
||||
[DataMember(Name = "targets")]
|
||||
public Dictionary<string, Dictionary<string, TargetReference>> Targets { get; set; }
|
||||
}
|
||||
|
||||
[DataContract]
|
||||
[Serializable]
|
||||
public class TargetReference
|
||||
{
|
||||
[DataMember(Name = "type")]
|
||||
public string Type { get; set; }
|
||||
|
||||
//[DataMember(Name = "dependencies")]
|
||||
//public Dictionary<string, string> Dependencies { get; set; } = new Dictionary<string, string>();
|
||||
|
||||
//[DataMember(Name = "compile")]
|
||||
//public object Compile { get; set; }
|
||||
|
||||
//[DataMember(Name = "runtime")]
|
||||
//public object Runtime { get; set; }
|
||||
|
||||
//[DataMember(Name = "build")]
|
||||
//public object Build { get; set; }
|
||||
}
|
||||
}
|
|
@ -1,179 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Runtime.Serialization.Json;
|
||||
using System.Runtime.Versioning;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web.Script.Serialization;
|
||||
using System.Xml.Linq;
|
||||
using System.Xml.XPath;
|
||||
using Microsoft.Build.Utilities;
|
||||
|
||||
namespace Xamarin.AndroidX.Annotation.BuildTasks
|
||||
{
|
||||
public static class NugetPackages
|
||||
{
|
||||
public static readonly Dictionary<int, Version> AndroidApiLevelsAndVersions = new Dictionary<int, Version>
|
||||
{
|
||||
{ 23, new Version(6, 0) },
|
||||
{ 24, new Version(7, 0) },
|
||||
{ 25, new Version(7, 1) },
|
||||
{ 26, new Version(8, 0) },
|
||||
{ 27, new Version(8, 1) },
|
||||
{ 28, new Version(9, 0) },
|
||||
};
|
||||
|
||||
public static int GetMajorVersion(string version)
|
||||
{
|
||||
const string rxMajor = "^[0-9]+(\\.|$)";
|
||||
|
||||
var match = Regex.Match(version, rxMajor);
|
||||
|
||||
var cleanMatch = match?.Value?.Trim()?.Trim('.');
|
||||
|
||||
if (int.TryParse(cleanMatch, out var major))
|
||||
return major;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
public static Version FrameworkVersionForSupportVersion(string supportVersion)
|
||||
{
|
||||
var apiLevel = GetMajorVersion(supportVersion);
|
||||
|
||||
if (AndroidApiLevelsAndVersions.ContainsKey(apiLevel))
|
||||
return AndroidApiLevelsAndVersions[apiLevel];
|
||||
|
||||
return new Version(0, 0);
|
||||
}
|
||||
|
||||
public static void GatherPackagesConfigVersions(string packageIdPrefix, string projectPath, IEnumerable<string> excludedPackages, Dictionary<string, string> packageVersions)
|
||||
{
|
||||
var path = Path.Combine(projectPath, "packages.config");
|
||||
|
||||
var xdoc = XDocument.Load(path);
|
||||
|
||||
var packageNodes = xdoc.XPathSelectElements("/packages/package");
|
||||
|
||||
foreach (var pkgNode in packageNodes)
|
||||
{
|
||||
var nugetId = pkgNode?.Attribute("id")?.Value;
|
||||
var nugetVersion = pkgNode?.Attribute("version")?.Value;
|
||||
|
||||
if (!nugetId.StartsWith(packageIdPrefix, StringComparison.InvariantCultureIgnoreCase))
|
||||
continue;
|
||||
if (excludedPackages.Contains(nugetId.ToLowerInvariant()))
|
||||
continue;
|
||||
|
||||
packageVersions[nugetId] = nugetVersion;
|
||||
}
|
||||
}
|
||||
|
||||
public static void GatherProjectJsonVersions(string packageIdPrefix, string projectExtensionsPath, IEnumerable<string> excludedPackages, Version monoandroidVersion, Dictionary<string, string> packageVersions, TaskLoggingHelper log = null)
|
||||
{
|
||||
var path = Path.Combine(projectExtensionsPath, "project.assets.json");
|
||||
|
||||
var js = new JavaScriptSerializer();
|
||||
var json = js.Deserialize<dynamic>(File.ReadAllText(path));
|
||||
|
||||
var tfm = new FrameworkName("MonoAndroid", monoandroidVersion);
|
||||
|
||||
var targets = json?["targets"];
|
||||
var projTarget = targets?[tfm.FullName];
|
||||
|
||||
foreach (var rf in projTarget) {
|
||||
|
||||
if (!rf?.Value?["type"]?.ToString()?.Equals("package", StringComparison.InvariantCultureIgnoreCase))
|
||||
continue;
|
||||
|
||||
var parts = rf.Key.Split(new[] { '/' }, 2);
|
||||
|
||||
string nugetId = parts[0];
|
||||
string nugetVersion = parts[1];
|
||||
|
||||
if (!nugetId.StartsWith(packageIdPrefix, StringComparison.InvariantCultureIgnoreCase))
|
||||
continue;
|
||||
if (excludedPackages.Contains(nugetId?.ToString()?.ToLowerInvariant()))
|
||||
continue;
|
||||
|
||||
packageVersions[nugetId] = nugetVersion;
|
||||
}
|
||||
}
|
||||
|
||||
public static int GetDistinctVersions(string packageIdPrefix, IEnumerable<string> excludedPackages, Dictionary<string, string> packageVersions)
|
||||
{
|
||||
// Get the number of support library versions encountered for all support library packages
|
||||
var distinctSupportVersions = packageVersions
|
||||
.Where(kvp => kvp.Key.StartsWith(packageIdPrefix, StringComparison.InvariantCultureIgnoreCase)
|
||||
&& !excludedPackages.Contains(kvp.Key.ToLowerInvariant()))
|
||||
.Select(kvp => kvp.Value)
|
||||
.Distinct()
|
||||
.Count();
|
||||
|
||||
return distinctSupportVersions;
|
||||
}
|
||||
|
||||
public static string GetSupportVersion(string packageIdPrefix, Dictionary<string, string> packageVersions)
|
||||
{
|
||||
// Get the number of support library versions encountered for all support library packages
|
||||
var supportVersion = packageVersions
|
||||
.Where(kvp => kvp.Key.StartsWith(packageIdPrefix, StringComparison.InvariantCultureIgnoreCase))
|
||||
.Select(kvp => kvp.Value)
|
||||
.FirstOrDefault();
|
||||
|
||||
return supportVersion;
|
||||
}
|
||||
|
||||
static readonly HttpClient http = new HttpClient();
|
||||
|
||||
public static async Task<string> GetRecommendedSupportPackageVersion(int apiLevel)
|
||||
{
|
||||
// Default to the apilevel.x since this is displayed as a suggestion in a message
|
||||
var bestVersion = apiLevel.ToString() + ".x";
|
||||
|
||||
try
|
||||
{
|
||||
var searchUrl = await GetNuGetSearchUrl();
|
||||
|
||||
var queryUrl = searchUrl + "?q=packageid:Xamarin.Android.Support.Annotations&prerelease=false";
|
||||
|
||||
var data = await http.GetStringAsync(queryUrl);
|
||||
|
||||
var js = new JavaScriptSerializer();
|
||||
var json = js.Deserialize<dynamic>(data);
|
||||
|
||||
var versions = json["data"][0]["versions"];
|
||||
|
||||
foreach (var version in versions)
|
||||
{
|
||||
var v = version["version"].ToString();
|
||||
|
||||
if (v.StartsWith(apiLevel.ToString() + ".", StringComparison.InvariantCultureIgnoreCase))
|
||||
bestVersion = v;
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
Console.WriteLine(ex);
|
||||
}
|
||||
|
||||
return bestVersion;
|
||||
}
|
||||
|
||||
static async Task<string> GetNuGetSearchUrl()
|
||||
{
|
||||
var data = await http.GetStringAsync("https://api.nuget.org/v3/index.json");
|
||||
|
||||
var js = new JavaScriptSerializer();
|
||||
var json = js.Deserialize<dynamic>(data);
|
||||
|
||||
foreach (var item in json["resources"]) {
|
||||
if (item["@type"] == "SearchQueryService")
|
||||
return item["@id"];
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
// Information about this assembly is defined by the following attributes.
|
||||
// Change them to the values specific to your project.
|
||||
|
||||
[assembly: AssemblyTitle ("Xamarin.AndroidX.Annotation.BuildTasks")]
|
||||
[assembly: AssemblyDescription ("")]
|
||||
[assembly: AssemblyConfiguration ("")]
|
||||
[assembly: AssemblyCompany ("Microsoft Corporation")]
|
||||
[assembly: AssemblyProduct ("")]
|
||||
[assembly: AssemblyCopyright ("Copyright © Microsoft Corporation")]
|
||||
[assembly: AssemblyTrademark ("")]
|
||||
[assembly: AssemblyCulture ("")]
|
||||
|
||||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
|
||||
[assembly: AssemblyVersion ("1.0.*")]
|
||||
|
||||
// The following attributes are used to specify the signing key for the assembly,
|
||||
// if desired. See the Mono documentation for more information about signing.
|
||||
|
||||
//[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyFile("")]
|
||||
|
|
@ -1,80 +0,0 @@
|
|||
using System;
|
||||
using Microsoft.Build.Framework;
|
||||
using Microsoft.Build.Utilities;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization.Json;
|
||||
using System.Xml;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Runtime.Versioning;
|
||||
using System.Xml.Linq;
|
||||
using System.Xml.XPath;
|
||||
using System.Text;
|
||||
|
||||
namespace Xamarin.AndroidX.Annotation.BuildTasks
|
||||
{
|
||||
public class VerifyVersionsTask : Task
|
||||
{
|
||||
public const string AndroidXPackagePrefix = "xamarin.androidx";
|
||||
|
||||
public readonly static string[] ExcludedAndroidXPackages = { };
|
||||
public readonly static string[] ExcludedAndroidSupportPackages = { };
|
||||
|
||||
[Required]
|
||||
public ITaskItem ProjectPath { get; set; }
|
||||
|
||||
[Required]
|
||||
public ITaskItem ProjectExtensionsPath { get; set; }
|
||||
|
||||
[Required]
|
||||
public ITaskItem TargetFrameworkVersion { get; set; }
|
||||
|
||||
[Required]
|
||||
public ITaskItem TargetApiLevel { get; set; }
|
||||
|
||||
[Required]
|
||||
public ITaskItem AndroidSdkBuildToolsVersion { get; set; }
|
||||
|
||||
readonly Dictionary<string, string> androidxPackages = new Dictionary<string, string>();
|
||||
readonly Dictionary<string, string> androidSupportPackages = new Dictionary<string, string>();
|
||||
|
||||
public override bool Execute()
|
||||
{
|
||||
Log.LogMessage("ProjectPath: {0}", ProjectPath.ItemSpec);
|
||||
Log.LogMessage("ProjectExtensionsPath: {0}", ProjectExtensionsPath.ItemSpec);
|
||||
Log.LogMessage("TargetFrameworkVersion: {0}", TargetFrameworkVersion.ItemSpec);
|
||||
|
||||
var frameworkVersion = Version.Parse(TargetFrameworkVersion.ItemSpec.ToLowerInvariant().TrimStart('v'));
|
||||
var apiLevel = NugetPackages.GetMajorVersion(TargetApiLevel.ItemSpec);
|
||||
var buildToolsApiLevel = NugetPackages.GetMajorVersion(AndroidSdkBuildToolsVersion.ItemSpec);
|
||||
|
||||
Log.LogMessage("TargetApiLevel: {0}", apiLevel);
|
||||
Log.LogMessage("FrameworkVersion: {0}", frameworkVersion);
|
||||
Log.LogMessage("AndroidSdkBuildToolsApiLevel: {0}", buildToolsApiLevel);
|
||||
|
||||
if (File.Exists(Path.Combine(ProjectPath.ItemSpec, "packages.config")))
|
||||
{
|
||||
Log.LogMessage("PackageReferenceType: packages.config");
|
||||
NugetPackages.GatherPackagesConfigVersions("xamarin.androidx.", ProjectPath.ItemSpec, ExcludedAndroidXPackages, androidxPackages);
|
||||
NugetPackages.GatherPackagesConfigVersions("xamarin.android.support.", ProjectPath.ItemSpec, ExcludedAndroidSupportPackages, androidSupportPackages);
|
||||
}
|
||||
else
|
||||
{
|
||||
Log.LogMessage("PackageReferenceType: PackageReference");
|
||||
NugetPackages.GatherProjectJsonVersions("xamarin.androidx.", ProjectExtensionsPath.ItemSpec, ExcludedAndroidXPackages, frameworkVersion, androidxPackages, Log);
|
||||
NugetPackages.GatherProjectJsonVersions("xamarin.android.support.", ProjectExtensionsPath.ItemSpec, ExcludedAndroidSupportPackages, frameworkVersion, androidSupportPackages, Log);
|
||||
}
|
||||
|
||||
foreach (var pair in androidxPackages)
|
||||
Log.LogMessage("Referenced AndroidX Package: {0} ({1})", pair.Key, pair.Value);
|
||||
|
||||
/*
|
||||
* In the future we may add some logic to detect if certain Android Support packages
|
||||
* are referenced in the project but their equivalent AndroidX packages are not
|
||||
*/
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче