0

I have a managed c++ project.

How do I make the version information of the DLL (as seen in explorer and used by installers) match the version information generated in the Assembly Version atttribute?

AssemblyInfo.cpp:

[assembly:AssemblyVersion("5.1.*")];

The problem is discussed here.

mwigdahl
  • 15,640
  • 7
  • 51
  • 63
Adam Tegen
  • 24,389
  • 33
  • 119
  • 152

1 Answers1

0

Also set the AssemblyFileVersionAttribute and AssemblyInformationalVersionAttribute.

Richard
  • 103,472
  • 21
  • 199
  • 258
  • Will this magically translate into version information, even in a Managed C++ DLL? – Adam Tegen Feb 27 '09 at 18:04
  • It is documented (see linked pages) to do so. There is nothing giving exceptions. If the C++/CLI doesn't follow, would be a good reason to a comment to MSDN :-) – Richard Feb 28 '09 at 14:18
  • 1
    This does not help me. The file version still isn't shown in Explorer -> Properties -> Version Information of the file – Mike de Klerk Jun 07 '13 at 09:04
  • Found working answer here http://stackoverflow.com/questions/23204774/how-do-you-set-the-version-of-a-c-cli-project-in-visual-studio – Fedotchenco Denis Jan 23 '15 at 12:59