| Author |
Message |
JohnRedGater
Joined: 27 Jun 2011 Posts: 10
|
Posted: Wed Jul 27, 2011 5:38 am Post subject: 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? |
|
| Back to top |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 450
|
Posted: Thu Jul 28, 2011 10:02 am Post subject: |
|
|
| You may find you get better results by merging this assembly rather than embedding it... |
|
| Back to top |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 450
|
Posted: Fri Jul 29, 2011 11:38 am Post subject: |
|
|
| Any luck? |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group