From 6a4d9e12e9c4f5ccdbd05a9b5b87a71271bbeb73 Mon Sep 17 00:00:00 2001 From: Changjiang Yang Date: Wed, 4 Feb 2015 16:19:25 -0500 Subject: [PATCH] clean up --- modules/setvcenv.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/setvcenv.ps1 b/modules/setvcenv.ps1 index 203813e..68eb490 100755 --- a/modules/setvcenv.ps1 +++ b/modules/setvcenv.ps1 @@ -11,9 +11,9 @@ Param ( ) #region Set of functions -function XmlWritePropertyGroup($conf, $arch) { +function XmlWritePropertyGroup($conf) { $xmlWriter.WriteStartElement('PropertyGroup') - $XmlWriter.WriteAttributeString('Condition', "'`$(Configuration)|`$(Platform)'=='$conf|$arch'") + $XmlWriter.WriteAttributeString('Condition', "'`$(Configuration)|`$(Platform)'=='$conf|$comparch'") $xmlWriter.WriteElementString('LocalDebuggerEnvironment', $PathStr) $xmlWriter.WriteElementString('DebuggerFlavor', 'WindowsLocalDebugger') if($workdir) { @@ -46,7 +46,7 @@ if($envars) { } foreach ($conf in $conftypes -split ';' ) { - XmlWritePropertyGroup $conf $comparch + XmlWritePropertyGroup $conf } # close the "Project" node: