I need to read AssemblyFileVersion
of dll instead of just Version
. I tried:
<Target Name="RetrieveIdentities">
<GetAssemblyIdentity AssemblyFiles="some.dll">
<Output
TaskParameter="Assemblies"
ItemName="MyAssemblyIdentities"/>
</GetAssemblyIdentity>
<Message Text="%(MyAssemblyIdentities.FileVersion)" />
</Target>
The script runs but doesn't output anything. If I change FileVersion
to Version
it correctly outputs the AssemblyVersion
. How do I get AssemblyFileVersion
with my script?