Quantcast
Channel: CSLA .NET
Viewing all articles
Browse latest Browse all 764

Serialization bug revisited?

$
0
0

Hi everyone

We've recently upgraded to CSLA 4.5.30 using NuGet.

Our application loads plug-ins from different directories using MEF. When a plug-in hits DataPortal.Execute() inside a command derived from CommandBase, we are getting the following:

System.Runtime.Serialization.SerializationException: Unable to find assembly 'Company.Product.Business, Version=x.x.x.x.

The silly part is that the command in question is defined in this very assembly.

If we move the plug-in assemblies into the same directory as the main application, the bug disappears. (This is not an acceptable workaround.)

So, is it the old serialization bug revisited?

With older versions of CSLA, we included the source project in our solution and had modified versions of the serialization bug workaround in DataPortal and EnterpriseServicesPortal, which had a recursion check.

Now that we're relying on NuGet, how can we fix this?

Thanks in advance.

—Michael


Viewing all articles
Browse latest Browse all 764

Trending Articles