Skip to content

Commit

Permalink
[msbuild] Merge the EmbedProvisionProfile[TaskBase] classes. (#19672)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne authored Dec 20, 2023
1 parent 6592a7e commit 729d347
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
13 changes: 0 additions & 13 deletions msbuild/Xamarin.MacDev.Tasks/Tasks/EmbedProvisionProfile.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
using Microsoft.Build.Framework;

using Xamarin.Localization.MSBuild;
using Xamarin.Messaging.Build.Client;
using Xamarin.Utils;

// Disable until we get around to enable + fix any issues.
#nullable disable

namespace Xamarin.MacDev.Tasks {
public abstract class EmbedProvisionProfileTaskBase : XamarinTask {
public class EmbedProvisionProfile : XamarinTask {
#region Inputs

[Required]
Expand Down Expand Up @@ -43,6 +44,9 @@ MobileProvisionPlatform GetMobileProvisionPlatform ()

public override bool Execute ()
{
if (ShouldExecuteRemotely ())
return new TaskRunner (SessionId, BuildEngine4).RunAsync (this).Result;

var profile = MobileProvisionIndex.GetMobileProvision (GetMobileProvisionPlatform (), ProvisioningProfile);

if (profile is null) {
Expand Down

6 comments on commit 729d347

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

Please sign in to comment.