none
Could not load file or assembly .. RRS feed

  • Question

  • Hello,

    I have three projects in my solution, let us name them X, Y and Z. X and Y are plug-in extensions. Y is a plug-in extension and it includes and calls a windows form. Z is just a class library. Both X and Y have references to Z. Y has problem in calling any member function in Z and the following messages appears:

    "Could not load file or assembly 'Z, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly named assembly is required (Exception from HRESULT:0X80131044)"

    Any suggestions ?


    • Edited by hans.sweden Monday, January 15, 2018 10:23 AM
    Monday, January 15, 2018 10:22 AM

All replies

  • A standard message which occurs in 100000 occasions, maybe you had a disk error or something like that. 

    Make a new solution with 2 projects and see if that works, than you know it is caused by Visual Studio or by an external problem.


    Success Cor

    Monday, January 15, 2018 11:25 AM
  • Hi hans.sweden,

    According to your description, it seems that the project named Y could not the project Z's assembly, Please build project Z and check if it generate a dll file in bin/Debug folder.

    Best regards,

    Zhanglong


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, January 16, 2018 6:01 AM
    Moderator