locked
Link to the latest version of DLL in GAC RRS feed

  • Question

  • I have an EXE connected to a DLL in GAC 1.0.0.0.

    When I change my DLL (2.0.0.0) leave in GAC only the latest version.

    There is always a way to connect my EXE latest version of the DLL without changing the config ?



    • Edited by Stefano74 Wednesday, October 14, 2015 9:15 AM
    Wednesday, October 14, 2015 5:39 AM

Answers

  • Hi Stefano74,

    >>There is always a way to connect my EXE latest version of the DLL without changing the config ?

    Redirecting of an assembly from one version to another can be achieved by using below files:

      • Application Configuration file,
      • Machine Configuration file and
      • Publisher policy file.

    Since you don't want to change the config file, you may choose the third way(Publisher policy file).  For more information, please check http://www.c-sharpcorner.com/UploadFile/satisharveti/introduction-to-publisher-policy-file/

    Best regards,

    Kristin


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, October 15, 2015 2:25 AM