Delegate constructor for type '<typename>', necessary for the implementation of delegates, cannot be found
The assembly containing the type may be damaged, or not valid.
Error ID: BC31074
To correct this error
Verify that the assembly containing this type is valid.
Compile the program again to see if the error recurs.
If the error continues, save your work and restart Visual Studio.