by Andrew McNerlin
14. July 2010 07:41
I've been working on a BizTalk solution in Visual Studio 2005 and have started getting an odd compiler error. The solution had been building fine for quite a while and then all of a sudden I got the following error message(s):
'System.String' must be Xml serializable to be a message part type -- check event log for more information
and / or
'System.Boolean' must be Xml serializable to be a message part type -- check event log for more information
Unfortunately there are no entries in the event log, but I noticed that restarting Visual Studio and rebuilding the solution fixed the problem. The downside is that this error does reappear every now and again which means more VS restarts.
It looks like a Visual Studio problem, but if anyone has any other explanation/solution please let me know.