Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
yangcha committed Feb 4, 2015
1 parent a48f04f commit 6a4d9e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/setvcenv.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -46,7 +46,7 @@ if($envars) {
}

foreach ($conf in $conftypes -split ';' ) {
XmlWritePropertyGroup $conf $comparch
XmlWritePropertyGroup $conf
}

# close the "Project" node:
Expand Down

0 comments on commit 6a4d9e1

Please sign in to comment.