"Could not load file or assembly"

  • 27 January 2010
  • 1 reply
  • 1 view

Badge

Hi,


I have a problem with a K2 deployment package: installation with msbuild works fine, all files are contained in the package. process is listed in k2. 


when triggering the process, it tells me in the Error Profiles view, that one of my custom assemblies cannot be found. it is contained in the deployment package, and it is referenced by the build script (when I move it away, the msbuild installer complains about it). 


When I copy the assembly into the GAC or into the K2 Host Servers "bin" directory, the process is working fine. 


any idea what could be wrong with the deployment package ?


1 reply

Badge +8

Just a thought, when adding your assembly in your Project References window, did you check the "Copy Local" option?

Reply