304NotModified / Fody.Stamp

:octocat: Stamps an assembly with git data
MIT License
65 stars 19 forks source link

Stamp failing on build server #4

Closed distantcam closed 11 years ago

distantcam commented 11 years ago

Stamp works fine locally, but is failing on the server.

http://teamcity.ginnivan.net/viewLog.html?buildId=2727&buildTypeId=bt40&tab=buildLog#_focus=64

[10:01:03][Fody\Fody.csproj] WinFodyTarget (1s) [10:01:03][WinFodyTarget] Fody.WeavingTask (1s) [10:01:03][Fody.WeavingTask] Fody (version 1.14.0.0) Executing [10:01:04][Fody.WeavingTask] Fody/Stamp: No .git directory found. [10:01:04] [Fody.WeavingTask] Fody: Failed to apply product version to Win32 resources. Output: error parsing product version arg bad product version arg, see usage (/?)

Error: [10:01:04][Fody.WeavingTask] Finished Fody 1124ms. [10:01:04][Fody\Fody.csproj] Project Fody\Fody.csproj failed.

SimonCropp commented 11 years ago

you need to have the "VCS checkout mode set" to "automatically on agent" so the git files are there.

I have fixed this for the null guard build

distantcam commented 11 years ago

So how come this worked for 0.6.2 but not 0.7.1?

SimonCropp commented 11 years ago

good point. i need an extra check in the win32 code.

i will fix