XML Serialization problem ( ver.2)

Hi folks!

I have some XML Serialization problem.
I searched Internet and found some good info but still can't resolve
the problem.

I have next situation:

I have solution contains 2 projects: Proj1 and Proj2.
Each project compiled to dll.
In Proj1 contains Class1
And Proj2 contains Class2.

Now,
Class2 has reference to Class1.
I want to XML serialize Class2.
In order to do that I added attr: [XmlInclude(typeof(Class1))] before
Class2 definition.

It's compiled but when it's running it throws exception something like
that:
"File or assembly name Proj1, or one of its dependencies, was not
found."

My question is:
Is it possible to serialize classes with refs to classes from another
dlls? If yes � how can I "xml include" that dlls?

Thanks in advance.

Yevgeny.
0
1q2q (2)
10/14/2004 7:12:48 AM
dotnet.xml 7266 articles. 0 followers. Follow

0 Replies
818 Views

Similar Articles

[PageSpeed] 34

Reply:

Similar Artilces: