Could not load file or assembly 'xxxx' or one of its dependencies. The system cannot find the file specified

前端 未结 3 872
挽巷
挽巷 2021-01-04 18:17

Inside VS2005, our whole programming staff gets this error message sporadically and it is always on the BeneControls project. This error me

相关标签:
3条回答
  • 2021-01-04 18:47

    Version=1.0.3289.23008 - that tells me you version number is constantly changing, have you thought about fixing on a version number during development?

    On AssemblyInfo.vb:

    Currently it is set to increment:

    [assembly: AssemblyVersion("1.0.*.*")]
    

    Change to:

    [assembly: AssemblyVersion("1.0.0.0")]
    

    And you have it in a fixed version.

    0 讨论(0)
  • 2021-01-04 18:58

    Well, I am not a developer but I got to deploy a project which actually send fax using the fax services on windows 2008 server 64bit. the project was developed on a windows 32bit platform and I was setting all the information according to the given instruction but still I this annoying error and then I found the solution and that was to change the platform from anycpu to x86 and it worked. for a complete setting list please follow the link below: http://www.sizledcore.com/2011/10/could-not-load-file-or-assembly/

    0 讨论(0)
  • 2021-01-04 19:01

    I've seen this in the past in a situation where the control was in the same assembly as the consumer - the GAC and versioning didn't help there -- it seems to be related to the way that the designer locks the assembly in memory, and refuses to budge.

    The advice our developers have is to not leave form designers open when closing VS, or switching between build types (I think it's due to the sharing the same output folder between build configurations in VB.Net)

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