In a C++ project, I can add different Product Version and File Version values to my assembly using VERSIONINFO in a Version resource file:
#define VER_PRODUCTVERSION 1,0,0,0
#define VER_PRODUCTVERSION_STR "1.0\0"
#define VER_FILEVERSION 1,0,0,1
#define VER_FILEVERSION_STR "1.0.0.1\0"
This appears in the DLL properties as:
I'm having trouble achieving the same in a C# project. I've set the following in the AssemblyInfo.cs file:
[assembly: AssemblyVersion("1.0")]
[assembly: AssemblyFileVersion("1.0.0.1")]
However, in the DLL properties, both are set to the value of File Version:
How can I set Product Version and File Version to different values in a C# DLL? I'm using Visual Studio 2019.

