Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
OnDeserialized attribute from NS2 causes runtime error in full .NET #822
Several CSLA base classes use the
Unfortunately at the moment there's a conflict between this attribute in netstandard 2.0 and full .NET. So if you use this attribute in an NS2 assembly and then try to reference and run that assembly from within a full .NET runtime (ASP.NET, Windows Forms, WPF, etc.) you'll get a runtime exception because the types don't match.
Until this issue is resolved within full .NET CSLA needs to maintain a set of NuGet packages (and assemblies) that target full .NET separately from netstandard.
This is documented by dotnet/standard#300 in the Microsoft .NET repo.
This was referenced
Mar 22, 2018
This isn't just full .NET which is affected. If you create an Azure Function project targeting .NET Core and install CSLA-Core-NS, you cannot build the project because
As far as I can tell you can't use CSLA in any flavour of an Azure Function Project if you want to use the