Chetan
Chetan

Reputation: 642

Get Assembly Version of DLL using TFS Build Tasks

Is there any way to read the assembly version of a file using TFS Build Tasks or Build Definitions.

I want to build an InstallShield Project in TFS using build tasks. I am able to build it but in order to pass the Product Version to InstallShield I need some mechanism to read it from the assembly (we are considering assembly version for MSI or setup as Product Version).

Upvotes: 1

Views: 434

Answers (1)

Richard Banks
Richard Banks

Reputation: 12546

The MSBuildExtensionsPack has an Assembly task you can use for this purpose.

Upvotes: 1

Related Questions