K
ken_Ident
I have an object that is marked as [serializable]. When I try to serilize
the object it fails with the famous tempory file not found error :
Error: File or assembly name xogis39n.dll, or one of its dependencies, was
not found.
The actual error using a debug tool that caused the above error is
c:\Documents and Settings\kenm\Local Settings\Temp\xogis39n.0.cs(16,21):
error CS0012: The type 'EPoS.Common.DataSale' is defined in an assembly that
is not referenced. You must add a reference to assembly 'Common'.
BusinessRules.dll: (Location of symbol related to previous error)
The Common.DataSale object that it is referring to only appears in the
object when used in ecplicit operator conversion.
public static explicit operator DataSale(Sale S)
{
Do somethings ...
}
public static explicit operator Sale(DataSale S)
{
Do Somethings ...
}
The question is why is the serilization even looking at these operators and
more importantly how do I stop the error.
the object it fails with the famous tempory file not found error :
Error: File or assembly name xogis39n.dll, or one of its dependencies, was
not found.
The actual error using a debug tool that caused the above error is
c:\Documents and Settings\kenm\Local Settings\Temp\xogis39n.0.cs(16,21):
error CS0012: The type 'EPoS.Common.DataSale' is defined in an assembly that
is not referenced. You must add a reference to assembly 'Common'.
BusinessRules.dll: (Location of symbol related to previous error)
The Common.DataSale object that it is referring to only appears in the
object when used in ecplicit operator conversion.
public static explicit operator DataSale(Sale S)
{
Do somethings ...
}
public static explicit operator Sale(DataSale S)
{
Do Somethings ...
}
The question is why is the serilization even looking at these operators and
more importantly how do I stop the error.