error in compiling server event because dll from other project not found

  • 21 April 2011
  • 1 reply
  • 0 views

Badge +3

Hi is there anyone who get same problem with me?


 


i have problem like this


in server event i call a class from other project and i already add the project in process reference to of course and in code the class from other project can be called without problem


 


but when i want to compile it there's an error like this


Error    41    The type or namespace name 'Namespace' could not be found (are you missing a using directive or an assembly reference?


 


i can't test my flow if it won't get right


 


oyeah the class that i call actually just an dataset for handling my xml K2 datafield


 


1 reply

Badge +5

Hi there.


I'd firstly check that you can reference your class correctly. Can you create another project (console app), reference the same dll and call the method without a problem? If you can then we know for sure that it's the way you're referencing it form K2 that's the problem.


After that I'd try some things like cleaning the solution and rebuilding, or possibly restarting Visual Studio (it's always had a habit of locking dll's). 

Reply