I'm using a C++ CLR DLL in my C# WinForms app (.NET 3.5). I have set the assembly info according to all instructions found but when looking at my C# app in VS2015 the DLL metadata keeps displaying "0.0.0.0".
Here are some screenshots of my CPP and result:
Resource file - app.rc. It also includes "version.h" shown below.
version.h:
When I see the DLL file properties I can see the following:
But at the end, when I look at my C# code generated from the managed CPP, I can see that it is "0.0.0.0":
Is there something I'm missing here? Thanks.




I found myself facing the same (or a similar) issue: I had a CLI C++ library included in a solution and its assembly version was 0.0.0.0.
The only way I've been able to change it was to add a new source file called AssemblyInfo.cpp to che CLI C++ library containing the following lines:
After recompiling the DLL I finally read 1.0.0.0 as DLL assembly version. Hope it helps someone else!