Custom Activity usage throws error. Cannot create an instance of ACTIVITY_NAME

I have created a package out of my custom activity. I have put the package in the packages directory and installed it into my project which was successfully completed. I can see the list of activities under the custom activity. Now when i am trying to drag and drop one of the activities, i get an error message box saying

“Cannot create an instance of ACTIVITY_NAME”
“Could not load file or assembly Version=1.0.7.0, Culture=neutral , PublicKeyToken = null” or one of its dependencies. The system cannot find the file specified."

Does your custom activity require any specific external libraries? If so make sure to include those libraries correctly when creating the nupkg file.

1 Like

Thank you for your reply. I had to include all the dlls inside the bin folder. That worked.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.