Could not load file or assembly or one of its dependencies

前端 未结 30 1461
生来不讨喜
生来不讨喜 2020-11-22 03:18

I\'m having another of these \"Could not load file or assembly or one of its dependencies\" problems.

Additional information: Could not load file or

相关标签:
30条回答
  • 2020-11-22 03:55

    Another possible cause: make sure you haven't accidentally given both of the projects the same assembly name in project properties.

    0 讨论(0)
  • 2020-11-22 03:55

    For me rebuilding the unity game without Unity C# Proects Checkmark worked.

    0 讨论(0)
  • 2020-11-22 03:56

    Following worked for me.

    • Remove Temporary Files C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
      • then right click on Temporary Asp.net Files>properties>security and give total control access to IIS and to all user runing my project
    0 讨论(0)
  • 2020-11-22 03:57

    You have to delete Your appname.dll file from your output folder. Cleanup Debug and Release folders. Rebuild and copy to output folder regenerated dll file.

    0 讨论(0)
  • 2020-11-22 03:58

    I had the same problem i solved it via the instructions below:

    1. open tools menu and select option
    2. in options, window go to Projects and Solutions/Web Projects
    3. check use the 64bit version of IIS ...

    0 讨论(0)
  • 2020-11-22 03:58

    Try checking if the "Copy to Local" property for the reference is set to true and the specific version is set to true. This is relevant for applications in Visual Studio.

    0 讨论(0)
提交回复
热议问题