How can we help you today? How can we help you today?

Xml Serialization Can't find embedded assembly

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?
JohnRedGater
0

Comments

2 comments

  • Chris.Allen
    You may find you get better results by merging this assembly rather than embedding it...
    Chris.Allen
    0
  • Chris.Allen
    Any luck?
    Chris.Allen
    0

Add comment

Please sign in to leave a comment.