coapp / coapp.powershell

ClrPlus Signing
52 stars 43 forks source link

Unable to re-use previously used environment settings in Invoke-Build #4

Closed virmitio closed 11 years ago

virmitio commented 11 years ago

v 1.23.187

Attempting to use .SetEnvironmentFromTarget on a previously used target environment results in the environment being declared as invalid. It appears that the actual environment variables are replaced appropriately, but the variable which declares it as valid is set improperly.

eg.

.SetEnvironmentFromTarget.Target = "VC_V110_X64";
.Message.Text = "$(IsEnvironmentValid)";  // true
.SetEnvironmentFromTarget.Target = "VC_V110_X64";
.Message.Text = "$(IsEnvironmentValid)";  // false
fearthecowboy commented 11 years ago

Fixed in 1.23.196.0 -- use :

# Update CoApp PowerShell Tools
Update-CoAppTools -KillPowerShells -Beta 
virmitio commented 11 years ago

Confirmed fixed in 1.23.196