Xml Serialization Can't find embedded assembly

JohnRedGaterJohnRedGater Posts: 17
edited July 29, 2011 6:38AM in SmartAssembly
I embedded an assembly into my main assembly and another assembly (a plugin) references it. I am getting the following error:

System.InvalidOperationException
Unable to generate a temporary class (result=1)
error CS0012:The type "......" is defined in an assembly that is not referenced. You must add a reference to assembly "...."

This is happening in the System.Xml.Serialization.Compiler.Compile

It appears the Xml Serialization doesn't can't find the embedded assembly. Is there a way to correct this?

Comments

Sign In or Register to comment.