I have a question about the Application.ProductVersion difference from .Net4.5 to .Net 4.8
PaulBill Posts: 2 New member
edited April 11, 2022 8:56PM in SmartAssembly
I recently upgraded my application from using .Net 4.5 to .Net4.8 and when I build my smart assembly .exe and run it, it will show the Application.ProductVersion on my main page in the application as some weird 1.22.0+ Guid instead of my applications actual version number like it did using .Net4.5. I'm currently using Smart Assembly v7.5. When I run in the debug or release mode in visual studio 2019 it shows correctly. Any ideas as to what is happening?
0 · Share on Twitter
Thanks for reaching out on the Redgate forums regarding this inquiry.
Our developers have identified an issue in Smart Assembly where it is including it's own AssemblyInformationalVersion version into the application.
We expect this to be resolved in a future release but in the meantime there is a workaround:
Could you add this line to AssemblyInfo: