diff --git a/cf-msbuild-tasks.sln b/cf-msbuild-tasks.sln index 661b479..0ea2831 100644 --- a/cf-msbuild-tasks.sln +++ b/cf-msbuild-tasks.sln @@ -42,11 +42,13 @@ Global {30B57F81-4D58-4FF8-B131-075EF7ED9A7F}.Debug|Any CPU.Build.0 = Debug|Any CPU {30B57F81-4D58-4FF8-B131-075EF7ED9A7F}.Debug|x86.ActiveCfg = Debug|Any CPU {30B57F81-4D58-4FF8-B131-075EF7ED9A7F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {30B57F81-4D58-4FF8-B131-075EF7ED9A7F}.Release|Any CPU.Build.0 = Release|Any CPU {30B57F81-4D58-4FF8-B131-075EF7ED9A7F}.Release|x86.ActiveCfg = Release|Any CPU {F7B6E157-42CA-40A7-A40C-2D3C8D8C1D30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F7B6E157-42CA-40A7-A40C-2D3C8D8C1D30}.Debug|Any CPU.Build.0 = Debug|Any CPU {F7B6E157-42CA-40A7-A40C-2D3C8D8C1D30}.Debug|x86.ActiveCfg = Debug|Any CPU {F7B6E157-42CA-40A7-A40C-2D3C8D8C1D30}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F7B6E157-42CA-40A7-A40C-2D3C8D8C1D30}.Release|Any CPU.Build.0 = Release|Any CPU {F7B6E157-42CA-40A7-A40C-2D3C8D8C1D30}.Release|x86.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution diff --git a/src/CloudFoundry.Build.Tasks/src/Validate.cs b/src/CloudFoundry.Build.Tasks/src/Validate.cs index baddcc2..312a298 100644 --- a/src/CloudFoundry.Build.Tasks/src/Validate.cs +++ b/src/CloudFoundry.Build.Tasks/src/Validate.cs @@ -33,7 +33,7 @@ public override bool Execute() { logger = new Microsoft.Build.Utilities.TaskLoggingHelper(this); CloudFoundryClient client = InitClient(); - + PagedResponseCollection stackList = client.Stacks.ListAllStacks().Result; var stackInfo = stackList.Where(o => o.Name == CFStack).FirstOrDefault(); @@ -43,7 +43,7 @@ public override bool Execute() logger.LogError("Stack {0} not found", CFStack); return false; } - + Guid? spaceGuid = Utils.GetSpaceGuid(client, logger, CFOrganization, CFSpace); if (spaceGuid.HasValue == false)