This error shows up in Visual Studio from time to time when using third party components with Windows Forms and trying to compile, often with an accompanying qualifier: “could not create type.” When this happens, delete the existing licenses.licx file. Then open all of the forms and make a tiny change and then reverse it (so for instance, I change the location of a control by one pixel, and then put it back to its original location).
The project should now build.