none
.NET 4.5 compatibility issue RRS feed

  • Question

  • Hello!

    In our solution we have a mixed-code C++ COM dll, which is dependent on a proprietary managed-code dll. Both dll-s are installed to the same directory. If .NET 4.5 is installed on the computer, this dependent managed dll can not be found and loaded into the memory, until we install it to the GAC. If we uninstall .NET 4.5 and install .NET 4.0, everything works fine and the dependent dll is loaded without installation to the GAC. So at the moment the installation of .NET 4.5 breaks our application... The problem with .NET 4.5 occurs when our code is executed under IIS, or under Office-addins, so when the application directory is not the same as where the mixed-code COM dll is located. Did Microsoft change the way the dependent assemblies are loaded in .NET 4.5?


    • Edited by tgilyova Sunday, November 11, 2012 5:18 PM
    Sunday, November 11, 2012 5:17 PM

All replies

  • Hi Tgilyova,

    Does the same issue reproduce on .NET4.0?

    Here is a team which is focus on .net 4.5 compatibility, please contact it by this mail ID:

    Could you email us at netfx45compat at Microsoft dot com with following information.

      • Code that reproduces the problem.
      • Operating System

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, November 12, 2012 7:59 AM
    Moderator
  • Hello,

    I want to help take a look. Can you contact me on netfx45compat at Microsoft dot com?

    Thanks

    Varun Gupta

    .NET Framework Compatibility


    Varun Gupta - MSFT

    Tuesday, November 13, 2012 7:52 PM
  • Hi tgilyova,

    We would like to take a look. Could you provide us code sample that reproduces the problem on netfx45compat at Microsoft dot com?

    Sincerely,

    Varun Gupta

    .NET Framework Compatibility Team


    Varun Gupta - MSFT

    Wednesday, November 21, 2012 7:37 PM