Debug Error:LisenceException

I debug program under VC#2005,When debugging the codes:

“this.controller=ControllerFactory.CreateFrom(controllerInfo );”

there is an error :

“LicenseException was unhandled”,

it is not a syntax error,i can’t figure out why.please help me handle this problem.

You must add a file called licenses.licx to your Visual Studio project that provides references to several namespaces. This is described in the RAB help files and elsewhere here in the forum.

But how to add a file called “licenses.licx”

I write in a text “ABB.Robotics.Controller.Licenses.PCSdk,ABB.Robotics.Control lers” and name the file Licenses.licx then import the file to my project,but it doesn’t work

Hi
In VS just right click on the class library node and select add new item and then select text file and rename it to Licenses.licx and after that add the information to the file

It works,thank u for instruction