Created
October 19, 2014 09:59
-
-
Save james-dibble/70587f86d0f29553d9f5 to your computer and use it in GitHub Desktop.
Appveyor before build arguments to patch the csproj file so that a ClickOnce manifest's version is in sync
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[xml]$projectFile = Get-Content "C:\projects\chocolateyexplorer\ChocolateyExplorer.WPF\ChocolateyExplorer.WPF.csproj" | |
$projectFile.Project.ChildNodes.Item(1).ApplicationVersion = "$env:APPVEYOR_BUILD_VERSION" | |
$projectFile.Save("C:\projects\chocolateyexplorer\ChocolateyExplorer.WPF\ChocolateyExplorer.WPF.csproj") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment