[msbuild] Move all tasks from Xamarin.[iOS|Mac].Tasks into Xamarin.MacDev.Tasks. (#20118)
After this the Xamarin.iOS.Tasks and Xamarin.Mac.Tasks assemblies are empty, so the next step will be to remove them completely (this will happen in a different pull request). --------- Co-authored-by: Alex Soto <alex@alexsoto.me>
This commit is contained in:
Родитель
244f5ea611
Коммит
70368f2cb0
|
@ -13,7 +13,7 @@
|
|||
<UsingTask TaskName="Xamarin.MacDev.Tasks.InstallNameTool" AssemblyFile="$(_XamarinTaskAssembly)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.LinkNativeCode" AssemblyFile="$(_XamarinTaskAssembly)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.MergeAppBundles" AssemblyFile="$(_XamarinTaskAssembly)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ILStrip" AssemblyFile="$(_XamarinTaskAssembly)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.MobileILStrip" AssemblyFile="$(_XamarinTaskAssembly)" />
|
||||
|
||||
<!-- Project types and how do we distinguish between them
|
||||
|
||||
|
@ -905,13 +905,13 @@
|
|||
<OutputPath>$([System.String]::Copy('%(OutputPath)').Replace('\', '/'))</OutputPath>
|
||||
</_AssembliesToBeStripped>
|
||||
</ItemGroup>
|
||||
<Xamarin.MacDev.Tasks.ILStrip
|
||||
<MobileILStrip
|
||||
Assemblies="@(_AssembliesToBeStripped)"
|
||||
SessionId="$(BuildSessionId)"
|
||||
Condition="'$(IsMacEnabled)' == 'true'"
|
||||
>
|
||||
<Output TaskParameter="StrippedAssemblies" ItemName="_StrippedAssemblies" />
|
||||
</Xamarin.MacDev.Tasks.ILStrip>
|
||||
</MobileILStrip>
|
||||
<ItemGroup>
|
||||
<ResolvedFileToPublish Remove="@(_AssembliesToBeStripped)" />
|
||||
<ResolvedFileToPublish Include="@(_StrippedAssemblies)" />
|
||||
|
|
|
@ -27,11 +27,11 @@
|
|||
<ItemGroup Condition="$(TargetFramework.StartsWith ('netstandard'))">
|
||||
<!-- I don't like to have a hard-coded list of assemblies to merge, but I couldn't find a way to calculate it -->
|
||||
<MergedAssemblies Include="@(ReferenceDependencyPaths)" Condition="'%(FileName)' == 'AssemblyStripper'" />
|
||||
<MergedAssemblies Include="@(ReferencePath)" Condition="'%(FileName)' == 'MonoTargetsTasks'" />
|
||||
<MergedAssemblies Include="@(ReferenceDependencyPaths)" Condition="'%(FileName)' == 'MonoTargetsTasks'" />
|
||||
<MergedAssemblies Include="@(ReferencePath)" Condition="'%(FileName)' == 'Xamarin.MacDev.Tasks'" />
|
||||
<MergedAssemblies Include="@(ReferencePath)" Condition="'%(FileName)' == 'Xamarin.MacDev'" />
|
||||
<MergedAssemblies Include="@(ReferencePath)" Condition="'%(FileName)' == 'DotNetZip'" />
|
||||
<MergedAssemblies Include="@(ReferencePath)" Condition="'%(FileName)' == 'ILLink.Tasks'" />
|
||||
<MergedAssemblies Include="@(ReferenceDependencyPaths)" Condition="'%(FileName)' == 'ILLink.Tasks'" />
|
||||
<MergedAssemblies Include="@(ReferencePath)" Condition="'%(FileName)' == 'ILStrip'" />
|
||||
<MergedAssemblies Include="@(ReferencePath)" Condition="'%(FileName)' == 'Newtonsoft.Json'" />
|
||||
<MergedAssemblies Include="@(ReferencePath)" Condition="'%(FileName)' == 'Renci.SshNet'" />
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace Xamarin.Messaging.Build {
|
|||
|
||||
internal void LoadTasks (Assembly assembly) => tasks.AddRange (assembly.GetTypes ());
|
||||
|
||||
internal void LoadXamarinTasks () => LoadTasks (typeof (iOS.Tasks.MTouch).Assembly);
|
||||
internal void LoadXamarinTasks () => LoadTasks (typeof (MacDev.Tasks.MTouch).Assembly);
|
||||
|
||||
public ExecuteTaskResult Execute (string taskName, string inputs)
|
||||
{
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
<LangVersion>latest</LangVersion>
|
||||
<WarningsAsErrors>Nullable</WarningsAsErrors>
|
||||
<NoWarn>$(NoWarn);NU1603</NoWarn> <!-- Xamarin.Messaging.Build.Common 1.6.24 depends on Merq (>= 1.1.0) but Merq 1.1.0 was not found. An approximate best match of Merq 1.1.4 was resolved. -->
|
||||
<NoWarn>$(NoWarn);MSB3277</NoWarn> <!-- warning MSB3277: Found conflicts between different versions of "System.Reflection.Metadata" that could not be resolved. -->
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -5,7 +5,7 @@ using Newtonsoft.Json.Linq;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class DataItem {
|
||||
[JsonProperty ("universal-type-identifier", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public string UniversalTypeIdentifier { get; set; }
|
|
@ -5,7 +5,7 @@ using Newtonsoft.Json.Linq;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class DataSet {
|
||||
[JsonProperty ("data")]
|
||||
public IEnumerable<DataItem> DataItems { get; set; }
|
|
@ -8,7 +8,6 @@ using Microsoft.Build.Framework;
|
|||
using System.Globalization;
|
||||
|
||||
using Xamarin.Localization.MSBuild;
|
||||
using Xamarin.iOS.Tasks;
|
||||
using Xamarin.Messaging.Build.Client;
|
||||
using Xamarin.Utils;
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@ using Microsoft.Build.Framework;
|
|||
using Microsoft.Build.Utilities;
|
||||
using Microsoft.Build.Tasks;
|
||||
|
||||
using Xamarin.iOS.Tasks;
|
||||
using Xamarin.Utils;
|
||||
using Xamarin.Localization.MSBuild;
|
||||
using Xamarin.Messaging;
|
||||
|
|
|
@ -11,7 +11,7 @@ using Xamarin.Messaging.Build.Client;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class CollectAssetPacks : XamarinTask, ICancelableTask {
|
||||
#region Inputs
|
||||
|
|
@ -14,7 +14,7 @@ using Xamarin.Localization.MSBuild;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class CollectITunesArtwork : XamarinTask, ITaskCallback, ICancelableTask {
|
||||
#region Inputs
|
||||
|
|
@ -10,7 +10,7 @@ using Xamarin.Messaging.Build.Client;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class CollectITunesSourceFiles : XamarinTask, ICancelableTask {
|
||||
static readonly string [] iTunesFileNames = { "iTunesMetadata.plist", "iTunesArtwork@2x", "iTunesArtwork" };
|
||||
|
|
@ -9,7 +9,7 @@ using System.Linq;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class CollectMonotouchReferences : Task {
|
||||
|
||||
const string MsBuildNamespace = "http://schemas.microsoft.com/developer/msbuild/2003";
|
|
@ -11,7 +11,7 @@ using Xamarin.Messaging.Build.Client;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class CompileITunesMetadata : XamarinTask, ICancelableTask {
|
||||
#region Inputs
|
||||
|
|
@ -11,7 +11,7 @@ using Xamarin.Messaging.Ssh;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class CopyArchiveFiles : XamarinTask, ICancelableTask {
|
||||
[Required]
|
||||
public string ArchivePath { get; set; }
|
|
@ -8,7 +8,7 @@ using Xamarin.Messaging.Build.Client;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class CreateAssetPack : XamarinToolTask {
|
||||
#region Inputs
|
||||
|
|
@ -10,7 +10,7 @@ using Xamarin.Utils;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class FindWatchOS2AppBundle : XamarinTask, ICancelableTask {
|
||||
#region Inputs
|
||||
|
|
@ -16,7 +16,7 @@ using Xamarin.Utils;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class GetMlaunchArguments : XamarinTask, ICancelableTask {
|
||||
|
||||
[Required]
|
|
@ -9,7 +9,7 @@ using Xamarin.Messaging.Build.Client;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class ILLink : global::ILLink.Tasks.ILLink {
|
||||
public string SessionId { get; set; } = string.Empty;
|
||||
|
|
@ -12,7 +12,7 @@ using Xamarin.Messaging.Build.Client;
|
|||
#nullable enable
|
||||
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class ILStrip : global::ILStrip, ITaskCallback {
|
||||
public class MobileILStrip : global::ILStrip, ITaskCallback {
|
||||
public string SessionId { get; set; } = string.Empty;
|
||||
|
||||
[Output]
|
|
@ -15,7 +15,7 @@ using Xamarin.Localization.MSBuild;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class MTouch : BundlerToolTaskBase, ITaskCallback {
|
||||
#region Inputs
|
||||
|
|
@ -21,7 +21,7 @@ using Xamarin.Localization.MSBuild;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.Mac.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class Mmp : BundlerToolTaskBase {
|
||||
protected override string ToolName {
|
||||
get { return "mmp"; }
|
|
@ -12,7 +12,7 @@ using Xamarin.Localization.MSBuild;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class ParseDeviceSpecificBuildInformation : XamarinTask {
|
||||
#region Inputs
|
||||
|
|
@ -10,7 +10,7 @@ using Xamarin.Messaging.Build.Client;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class PrepareObjCBindingNativeFrameworks : XamarinTask, ITaskCallback, ICancelableTask {
|
||||
public ITaskItem [] ObjCBindingNativeFrameworks { get; set; }
|
||||
|
|
@ -13,7 +13,7 @@ using Xamarin.Localization.MSBuild;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class ResolveNativeWatchApp : XamarinTask, ICancelableTask {
|
||||
#region Inputs
|
||||
|
|
@ -12,7 +12,7 @@ using Xamarin.Messaging.Build.Contracts;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class ResolveUniversalTypeIdentifiers : XamarinTask {
|
||||
[Required]
|
||||
public ITaskItem [] ImageAssets { get; set; }
|
|
@ -4,7 +4,7 @@ using System.IO;
|
|||
using Microsoft.Build.Framework;
|
||||
using Microsoft.Build.Utilities;
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public static class TaskItemFixer {
|
||||
const string XIFrameworkRootDir = "/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/";
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ using Xamarin.Localization.MSBuild;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class ValidateAppBundleTask : XamarinTask, ICancelableTask {
|
||||
#region Inputs
|
||||
|
|
@ -7,7 +7,7 @@ using Xamarin.Messaging.Build.Client;
|
|||
using Xamarin.Messaging.Build.Contracts;
|
||||
using Threading = System.Threading.Tasks;
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class VerifyXcodeVersion : XamarinTask {
|
||||
public override bool Execute () => ExecuteAsync ().Result;
|
||||
|
|
@ -9,7 +9,7 @@ using Xamarin.Messaging.Build.Client;
|
|||
// Disable until we get around to enable + fix any issues.
|
||||
#nullable disable
|
||||
|
||||
namespace Xamarin.iOS.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
public class WriteAssetPackManifest : XamarinTask, ICancelableTask {
|
||||
#region Inputs
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Xamarin.Mac.Tasks {
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
[Flags]
|
||||
public enum XamMacArch {
|
||||
Default = 0,
|
|
@ -3,13 +3,18 @@
|
|||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<IncludeMSBuildAssets Condition="'$(IncludeMSBuildAssets)' == ''">compile</IncludeMSBuildAssets>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<WarningsAsErrors>Nullable</WarningsAsErrors>
|
||||
<DefineConstants>$(DefineConstants);MSBUILD_TASKS</DefineConstants>
|
||||
<NoWarn>$(NoWarn);NU1603</NoWarn> <!-- Xamarin.Messaging.Build.Common 1.6.24 depends on Merq (>= 1.1.0) but Merq 1.1.0 was not found. An approximate best match of Merq 1.1.4 was resolved. -->
|
||||
<NoWarn>$(NoWarn);MSB3277</NoWarn> <!-- warning MSB3277: Found conflicts between different versions of "System.Reflection.Metadata" that could not be resolved. -->
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="..\..\eng\Versions.props" />
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="8.0.0" />
|
||||
<PackageReference Include="System.Text.Json" Version="4.7.0" />
|
||||
|
@ -19,6 +24,8 @@
|
|||
<PackageReference Include="Microsoft.Build.Framework" Version="16.8.0" IncludeAssets="compile" />
|
||||
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="16.8.0" IncludeAssets="compile" Aliases="Microsoft_Build_Tasks_Core" />
|
||||
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.8.0" IncludeAssets="compile" />
|
||||
<PackageReference Include="Microsoft.NET.ILLink.Tasks" Version="$(MicrosoftNETILLinkTasksPackageVersion)" />
|
||||
<PackageReference Include="Microsoft.NET.Runtime.MonoTargets.Sdk" Version="$(MicrosoftNETRuntimeMonoTargetsSdkPackageVersion)" GeneratePathProperty="true"/>
|
||||
<PackageReference Include="Xamarin.Messaging.Build.Client" Version="$(MessagingVersion)" />
|
||||
<!-- GitInfo is pulled in because of Xamarin.Messaging from above, but we don't want it, so just exclude all assets from it -->
|
||||
<!-- This can be removed once our package references have been updated to not expose GitInfo -->
|
||||
|
@ -29,6 +36,14 @@
|
|||
<ProjectReference Include="..\Xamarin.Localization.MSBuild\Xamarin.Localization.MSBuild.csproj">
|
||||
<ReferenceSourceTarget>ProjectReference</ReferenceSourceTarget>
|
||||
</ProjectReference>
|
||||
<!-- We need the net472 implementation, otherwise the Build agent needs to be a net5.0 app -->
|
||||
<Reference Include="ILLink.Tasks">
|
||||
<HintPath>$(PkgMicrosoft_NET_ILLink_Tasks)\tools\net472\ILLink.Tasks.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ILStrip">
|
||||
<!-- We need the net472 impl, otherwise the Build agent needs to be a net5.0 app -->
|
||||
<HintPath>$(PkgMicrosoft_NET_Runtime_MonoTargets_Sdk)\tasks\net472\MonoTargetsTasks.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\..\tools\common\ApplePlatform.cs">
|
||||
|
|
|
@ -33,51 +33,36 @@ Copyright (C) 2018 Microsoft. All rights reserved.
|
|||
<UsingTask TaskName="Microsoft.Build.Tasks.Touch" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Microsoft.Build.Tasks.WriteLinesToFile" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
|
||||
<!-- Xamarin.iOS-specific tasks. Some of these are duplicated with the Xamarin.Mac ones below, and should eventually be re-namespaced to be in Xamarin.MacDev -->
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.CollectAssetPacks" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.CollectITunesArtwork" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.CollectITunesSourceFiles" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.CompileITunesMetadata" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.CreateAssetPack" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.FindWatchOS2AppBundle" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.GetMlaunchArguments" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.MTouch" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.ParseDeviceSpecificBuildInformation" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.ResolveNativeWatchApp" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.ResolveUniversalTypeIdentifiers" AssemblyFile="Xamarin.iOS.Tasks.dll" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.ValidateAppBundleTask" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.VerifyXcodeVersion" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask Condition="'$(_PlatformName)' != 'macOS'" TaskName="Xamarin.iOS.Tasks.WriteAssetPackManifest" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
|
||||
<!-- Xamarin.Mac-specific tasks. Some of these are duplicated with the Xamarin.iOS ones above, and should eventually be re-namespaced to be in Xamarin.MacDev -->
|
||||
<UsingTask Condition="'$(_PlatformName)' == 'macOS'" TaskName="Xamarin.Mac.Tasks.Mmp" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
|
||||
<!-- Tasks shared between Xamarin.iOS and Xamarin.Mac -->
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ACTool" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ALToolUpload" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ALToolValidate" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.AOTCompile" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.Archive" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ArTool" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.AOTCompile" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.BTouch" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.Codesign" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CollectAssetPacks" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CollectBundleResources" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CollectITunesArtwork" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CollectITunesSourceFiles" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CompileAppManifest" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CreateEmbeddedResources" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CompileEntitlements" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CompileITunesMetadata" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CompileProductDefinition" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CompileSceneKitAssets" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ComputeBundleLocation" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ComputeBundleResourceOutputPaths" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ComputeCodesignItems" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ComputeRemoteGeneratorProperties" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CoreMLCompiler" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CreateAssetPack" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CreateAssetPackManifest" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CreateBindingResourcePackage" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CreateDebugConfiguration" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CreateDebugSettings" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CreateEmbeddedResources" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CreateInstallerPackage" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CreatePkgInfo" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CompileProductDefinition" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ComputeCodesignItems" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.DetectDebugNetworkConfiguration" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.DetectSdkLocations" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.DetectSigningIdentity" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
|
@ -86,25 +71,32 @@ Copyright (C) 2018 Microsoft. All rights reserved.
|
|||
<UsingTask TaskName="Xamarin.MacDev.Tasks.EmbedProvisionProfile" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.FilterStaticFrameworks" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.FindItemWithLogicalName" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.FindWatchOS2AppBundle" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.GenerateBundleName" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.GetDirectories" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.GetFiles" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.GetFileSystemEntries" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.GetFullPath" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.GetMlaunchArguments" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.GetPropertyListValue" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.IBTool" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.Metal" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.MetalLib" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.Mmp" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.MTouch" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.OptimizeImage" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.OptimizePropertyList" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.PackLibraryResources" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ParseBundlerArguments" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ParseDeviceSpecificBuildInformation" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.PrepareNativeReferences" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.PrepareResourceRules" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.PropertyListEditor" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ReadAppManifest" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ReadItemsFromFile" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ResolveNativeReferences" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ResolveNativeWatchApp" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ResolveUniversalTypeIdentifiers" AssemblyFile="Xamarin.iOS.Tasks.dll" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ScnTool" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.SmartCopy" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.SpotlightIndexer" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
|
@ -112,7 +104,10 @@ Copyright (C) 2018 Microsoft. All rights reserved.
|
|||
<UsingTask TaskName="Xamarin.MacDev.Tasks.TextureAtlas" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.UnpackLibraryResources" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.Unzip" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ValidateAppBundleTask" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.VerifyXcodeVersion" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.WriteAppManifest" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.WriteAssetPackManifest" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.WriteItemsToFile" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.Zip" AssemblyFile="$(_TaskAssemblyName)" />
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Copyright (C) 2011-2013 Xamarin. All rights reserved.
|
|||
<UsingTask TaskName="Xamarin.MacDev.Tasks.Unzip" AssemblyFile="$(CoreiOSSdkDirectory)Xamarin.iOS.Tasks.dll" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.WriteItemsToFile" AssemblyFile="$(CoreiOSSdkDirectory)Xamarin.iOS.Tasks.dll" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.Zip" AssemblyFile="$(CoreiOSSdkDirectory)Xamarin.iOS.Tasks.dll" />
|
||||
<UsingTask TaskName="Xamarin.iOS.Tasks.CopyArchiveFiles" AssemblyFile="$(CoreiOSSdkDirectory)Xamarin.iOS.Tasks.dll" />
|
||||
<UsingTask TaskName="Xamarin.iOS.Tasks.ILLink" AssemblyFile="$(CoreiOSSdkDirectory)Xamarin.iOS.Tasks.dll" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CopyArchiveFiles" AssemblyFile="$(CoreiOSSdkDirectory)Xamarin.iOS.Tasks.dll" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.ILLink" AssemblyFile="$(CoreiOSSdkDirectory)Xamarin.iOS.Tasks.dll" />
|
||||
<UsingTask TaskName="Xamarin.iOS.Tasks.Windows.CreateArchiveDirectory" AssemblyFile="Xamarin.iOS.Tasks.Windows.dll" />
|
||||
<UsingTask TaskName="Xamarin.iOS.Tasks.Windows.ResolveUniversalTypeIdentifiers" AssemblyFile="Xamarin.iOS.Tasks.Windows.dll" />
|
||||
|
||||
|
@ -361,7 +361,7 @@ Copyright (C) 2011-2013 Xamarin. All rights reserved.
|
|||
</ItemGroup>
|
||||
|
||||
<Delete SessionId="$(BuildSessionId)" Files="@(_LinkedResolvedFileToPublishCandidate)" />
|
||||
<Xamarin.iOS.Tasks.ILLink
|
||||
<Xamarin.MacDev.Tasks.ILLink
|
||||
SessionId="$(BuildSessionId)"
|
||||
AssemblyPaths="@(ManagedAssemblyToLink)"
|
||||
ReferenceAssemblyPaths="@(ReferencePath)"
|
||||
|
@ -401,7 +401,7 @@ Copyright (C) 2011-2013 Xamarin. All rights reserved.
|
|||
<Output TaskParameter="ExitCode" PropertyName="_ILLinkExitCode" />
|
||||
<Output TaskParameter="LinkedItems" ItemName="_XamarinLinkedItems" />
|
||||
<Output TaskParameter="LinkerOutputItems" ItemName="_XamarinLinkerItems" />
|
||||
</Xamarin.iOS.Tasks.ILLink>
|
||||
</Xamarin.MacDev.Tasks.ILLink>
|
||||
|
||||
<Touch Files="$(_LinkSemaphore)" AlwaysCreate="true" Condition=" '$(_ILLinkExitCode)' == '0' " />
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ Copyright (C) 2011-2013 Xamarin. All rights reserved.
|
|||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildThisFileDirectory)Xamarin.iOS.Windows.props" Condition="Exists('$(MSBuildThisFileDirectory)Xamarin.iOS.Windows.props')" />
|
||||
|
||||
<UsingTask TaskName="Xamarin.iOS.Tasks.CollectMonotouchReferences" AssemblyFile="$(CoreiOSSdkDirectory)Xamarin.iOS.Tasks.dll" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.CollectMonotouchReferences" AssemblyFile="$(CoreiOSSdkDirectory)Xamarin.iOS.Tasks.dll" />
|
||||
|
||||
<Import Project="$(MSBuildThisFileDirectory)Xamarin.iOS.Windows.Before.targets" Condition="Exists('$(MSBuildThisFileDirectory)Xamarin.iOS.Windows.Before.targets')" />
|
||||
</Project>
|
||||
|
|
|
@ -18,7 +18,7 @@ Copyright (C) 2013-2016 Xamarin Inc. All rights reserved.
|
|||
<Import Project="$(MSBuildThisFileDirectory)Xamarin.iOS.Windows.props" Condition="Exists('$(MSBuildThisFileDirectory)Xamarin.iOS.Windows.props')" />
|
||||
<Import Project="$(MSBuildThisFileDirectory)Xamarin.iOS.Windows.After.targets" Condition="Exists('$(MSBuildThisFileDirectory)Xamarin.iOS.Windows.After.targets')" />
|
||||
|
||||
<UsingTask TaskName="Xamarin.iOS.Tasks.PrepareObjCBindingNativeFrameworks" AssemblyFile="$(CoreiOSSdkDirectory)Xamarin.iOS.Tasks.dll" />
|
||||
<UsingTask TaskName="Xamarin.MacDev.Tasks.PrepareObjCBindingNativeFrameworks" AssemblyFile="$(CoreiOSSdkDirectory)Xamarin.iOS.Tasks.dll" />
|
||||
|
||||
<PropertyGroup Condition="'$(DesignTimeBuild)' != 'true'">
|
||||
<CompileDependsOn>
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="..\..\eng\Versions.props" />
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\external\Xamarin.MacDev\Xamarin.MacDev\Xamarin.MacDev.csproj" />
|
||||
<ProjectReference Include="..\Xamarin.MacDev.Tasks\Xamarin.MacDev.Tasks.csproj" />
|
||||
|
@ -26,28 +24,14 @@
|
|||
<PackageReference Include="Microsoft.Build.Framework" Version="16.8.0" IncludeAssets="$(IncludeMSBuildAssets)" />
|
||||
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="16.8.0" IncludeAssets="$(IncludeMSBuildAssets)" />
|
||||
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.8.0" IncludeAssets="$(IncludeMSBuildAssets)" />
|
||||
<PackageReference Include="Microsoft.NET.ILLink.Tasks" Version="$(MicrosoftNETILLinkTasksPackageVersion)" />
|
||||
<PackageReference Include="Microsoft.NET.Runtime.MonoTargets.Sdk" Version="$(MicrosoftNETRuntimeMonoTargetsSdkPackageVersion)" GeneratePathProperty="true"/>
|
||||
<PackageReference Include="Xamarin.Messaging.Build.Client" Version="$(MessagingVersion)" />
|
||||
<!-- GitInfo is pulled in because of Xamarin.Messaging from above, but we don't want it, so just exclude all assets from it -->
|
||||
<!-- This can be removed once our package references have been updated to not expose GitInfo -->
|
||||
<PackageReference Include="GitInfo" Version="2.2.0" ExcludeAssets="all" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- We need the net472 implementation, otherwise the Build agent needs to be a net5.0 app -->
|
||||
<Reference Include="ILLink.Tasks">
|
||||
<HintPath>$(PkgMicrosoft_NET_ILLink_Tasks)\tools\net472\ILLink.Tasks.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ILStrip">
|
||||
<!-- We need the net472 impl, otherwise the Build agent needs to be a net5.0 app -->
|
||||
<HintPath>$(PkgMicrosoft_NET_Runtime_MonoTargets_Sdk)\tasks\net472\MonoTargetsTasks.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Model\" />
|
||||
<Folder Include="Contracts\" />
|
||||
<None Include="../Xamarin.Shared/NoCode.cs">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
@ -64,14 +48,6 @@
|
|||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\..\tools\common\StringUtils.cs">
|
||||
<Link>StringUtils.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\tools\common\NullableAttributes.cs">
|
||||
<Link>NullableAttributes.cs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$(MSBuildThisFileDirectory)..\ILMerge.targets" />
|
||||
|
||||
|
|
|
@ -5,8 +5,6 @@ using Microsoft.Build.Utilities;
|
|||
|
||||
using NUnit.Framework;
|
||||
|
||||
using Xamarin.iOS.Tasks;
|
||||
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
class CustomBTouchTask : BTouch {
|
||||
public string GetCommandLineCommands ()
|
||||
|
|
|
@ -5,8 +5,6 @@ using Microsoft.Build.Utilities;
|
|||
|
||||
using NUnit.Framework;
|
||||
|
||||
using Xamarin.iOS.Tasks;
|
||||
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
[TestFixture]
|
||||
public class CollectITunesArtworkTaskTests : TestBase {
|
||||
|
|
|
@ -5,7 +5,6 @@ using Microsoft.Build.Utilities;
|
|||
using Newtonsoft.Json.Linq;
|
||||
using NUnit.Framework;
|
||||
|
||||
using Xamarin.iOS.Tasks;
|
||||
using Xamarin.MacDev;
|
||||
|
||||
#nullable enable
|
||||
|
|
|
@ -10,7 +10,6 @@ using Microsoft.Build.Utilities;
|
|||
|
||||
using NUnit.Framework;
|
||||
|
||||
using Xamarin.iOS.Tasks;
|
||||
using Xamarin.Utils;
|
||||
|
||||
#nullable enable
|
||||
|
|
|
@ -9,7 +9,6 @@ using Microsoft.Build.Utilities;
|
|||
|
||||
using NUnit.Framework;
|
||||
|
||||
using Xamarin.iOS.Tasks;
|
||||
using Xamarin.Utils;
|
||||
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
|
|
|
@ -3,8 +3,6 @@ using System.IO;
|
|||
|
||||
using NUnit.Framework;
|
||||
|
||||
using Xamarin.iOS.Tasks;
|
||||
|
||||
using Xamarin.Tests;
|
||||
using Xamarin.Utils;
|
||||
|
||||
|
|
|
@ -6,8 +6,6 @@ using Microsoft.Build.Framework;
|
|||
using Microsoft.Build.Utilities;
|
||||
using NUnit.Framework;
|
||||
|
||||
using Xamarin.iOS.Tasks;
|
||||
using Xamarin.MacDev;
|
||||
using Xamarin.MacDev.Tasks;
|
||||
using Xamarin.Utils;
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@ using System.ComponentModel;
|
|||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Xml.Linq;
|
||||
using Xamarin.iOS.Tasks;
|
||||
using Xamarin.Tests;
|
||||
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
|
|
|
@ -7,7 +7,6 @@ using Microsoft.Build.Utilities;
|
|||
|
||||
using NUnit.Framework;
|
||||
|
||||
using Xamarin.iOS.Tasks;
|
||||
using Xamarin.MacDev;
|
||||
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
|
|
|
@ -8,7 +8,6 @@ using Microsoft.Build.Utilities;
|
|||
|
||||
using NUnit.Framework;
|
||||
|
||||
using Xamarin.iOS.Tasks;
|
||||
using Xamarin.Tests;
|
||||
using Xamarin.Utils;
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ using System.Linq;
|
|||
using Microsoft.Build.Utilities;
|
||||
using NUnit.Framework;
|
||||
|
||||
using Xamarin.iOS.Tasks;
|
||||
using Xamarin.Utils;
|
||||
|
||||
namespace Xamarin.MacDev.Tasks {
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<DefineConstants>$(DefineConstants);MSBUILD_TASKS</DefineConstants>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
<AssemblyOriginatorKeyFile>../../../product.snk</AssemblyOriginatorKeyFile>
|
||||
<NoWarn>$(NoWarn);MSB3277</NoWarn> <!-- warning MSB3277: Found conflicts between different versions of "System.Reflection.Metadata" that could not be resolved. -->
|
||||
<WarningsAsErrors>Nullable</WarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче