The solution is in the error message:
The type or namespace name 'ShortMessageCollection' could not be found (are you missing a using directive or an assembly reference?)
Check you have a
using
statement referring to the relevant namespace.
Then check that the DLL containing the namespace is in your list of project references.
Whichever is missing (could be both) add it.