I have a question about the Application.ProductVersion difference from .Net4.5 to .Net 4.8

PaulBillPaulBill 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?
Tagged:

Answers

  • Jon_KirkwoodJon_Kirkwood Brisbane, Australia Posts: 132 Silver 1
    Hi @PaulBill

    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:
    <Assembly: AssemblyInformationalVersion("1.0.0.0")>


    Jon Kirkwood | Technical Support Engineer | Redgate Software
Sign In or Register to comment.