Browse files

Allowed build server to specify provider url

  • Loading branch information...
1 parent fe38383 commit a3cea597d4d59f46aa2c74ec40f49e4fdc0c5bba @JakeGinnivan JakeGinnivan committed Apr 9, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 Markpad.msbuild
View
3 Markpad.msbuild
@@ -27,6 +27,7 @@
<ClickOnceFolder>$(Root)artifacts\ClickOnce\</ClickOnceFolder>
<ClickOnceFiles>$(ClickOnceFolder)$(Version)\</ClickOnceFiles>
<Mage>$(Root)tools\mage.exe</Mage>
+ <ProviderUrlArg Condition="$(ProviderUrl)!=''">-ProviderURL $(ProviderUrl)</ProviderUrlArg>
</PropertyGroup>
<ItemGroup>
<XmlFiles Include="$(Root)src\Markpad\bin\$(Configuration)\*.xml" />
@@ -44,7 +45,7 @@
<Exec Command="$(Mage) -New Application -ToFile $(ClickOnceFiles)Markpad.exe.manifest -Processor x86 -name &quot;Markpad&quot; -Version $(VERSION) -FromDirectory $(ClickOnceFiles) -IconFile markpad.ico" />
<Exec Command="powershell.exe -ExecutionPolicy RemoteSigned -NoProfile $(Root)tools\UpdateManifest.ps1 -ManifestFile $(ClickOnceFiles)Markpad.exe.manifest" />
- <Exec Command="$(Mage) -New Deployment -ToFile $(ClickOnceFolder)Markpad.application -Processor x86 -Install true -Version $(Version) -Publisher &quot;Code52&quot; -AppManifest $(ClickOnceFiles)Markpad.exe.manifest" />
+ <Exec Command="$(Mage) -New Deployment -ToFile $(ClickOnceFolder)Markpad.application -Processor x86 -Install true -Version $(Version) -Publisher &quot;Code52&quot; -AppManifest $(ClickOnceFiles)Markpad.exe.manifest $(ProviderUrlArg)" />
<Exec Command="powershell.exe -ExecutionPolicy RemoteSigned -NoProfile $(Root)tools\UpdateApplicationManifest.ps1 -ManifestFile $(ClickOnceFolder)Markpad.Application" />

0 comments on commit a3cea59

Please sign in to comment.