Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
Build test projects in Release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaibuzgau committed Jun 19, 2015
1 parent 27b56df commit 66e9e75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cf-msbuild-tasks.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/CloudFoundry.Build.Tasks/src/Validate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public override bool Execute()
{
logger = new Microsoft.Build.Utilities.TaskLoggingHelper(this);
CloudFoundryClient client = InitClient();

PagedResponseCollection<ListAllStacksResponse> stackList = client.Stacks.ListAllStacks().Result;

var stackInfo = stackList.Where(o => o.Name == CFStack).FirstOrDefault();
Expand All @@ -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)
Expand Down

0 comments on commit 66e9e75

Please sign in to comment.