lholman / OneBuild

Convention based PowerShell build for .NET http://lholman.github.io/OneBuild/
Apache License 2.0
17 stars 2 forks source link

Build failed due git not installed #11

Closed mani0070 closed 10 years ago

mani0070 commented 10 years ago

WARNING: No VersionNumber.xml found at: C:\Users\mani_000\Documents\Visual Stud io 2013\Projects\AzureCloudService1, generating default VersionNumber.xml (majo r = 0 and minor = 1). WARNING: VersionNumber.xml file found, reading to set [major] and [minor] versi on numbers. WARNING: Setting [major] version number to: 0. WARNING: Setting [minor] version number to: 1. Build FAILED. 6 tasks, 3 errors, 4 warnings 00:00:03.7656195 Unable to find the version.xml.. I think it needs to be included as part of nuget packages.

Error performing Git operations using Git path: git.exe and repository: C:\Users\mani_000\Documents\Visual Studio 2013\Projects\AzureCloudService1 The term 'git.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again..Exception.ToString() At C:\Users\mani_000\Documents\Visual Studio 2013\Projects\AzureCloudService1\p ackages\OneBuild.1.0.37\tools\powershell\modules\Set-BuildNumberWithGitCommitDe tail.psm1:98 char:6

mani0070 commented 10 years ago

Install Git to avoid this error message.

lholman commented 10 years ago

Yeah, Git should just have to be in your path variable to work.