mindcandy/Teamcity-unity3d-build-runner-plugin — pull request #9 by FriedrichWessel (2013-11-17 20:38:57+00:00)
Title: Unity versions windows request

Implemented Issue #6: Detect Unity Version for Windows.

Like in the Mac implementation the Versionnumber is add to the agendConfiguration unity.buildnumber

Instead of the plist ( like in the Mac Version ), I read the Versionnumber from the unity.exe
( Windows PE specification: http://msdn.microsoft.com/en-us/library/windows/desktop/ms680547(v=vs.85).aspx ) using the jna Framwork to abstract windows API.

* Tested it on Windows 8.1 and TS 8.0.4.
* Small Testcase added

Happy to get feedback for this Solution, let me know if you have any suggestions.

Friedrich