The invoked member is not supported in a dynamic assembly.The error message is typically accompanied with a stack dump including information about the line of code which causes the problem. In order to solve the issue you need to find a different way of coding. In my case I had to use GetTypes() instead of GetExportedTypes(). After that change the form designer worked again as expected.
Comments, how-to's, examples, tools, techniques and other material regarding .NET and related technologies.
Thursday, December 29, 2005
The invoked member is not supported in a dynamic assembly.
You might encounter another issue with the forms designer in Visual Studio 2005.
When you have located a user control on the form, and the user control is in a different project, and the user control uses GetExportedTypes() to determine visible types, then you might receive the following error message when trying to view the form:
That fixed my problem, thanks for the tip. :)
ReplyDelete