Recent versions of PostSharp (2.1.7.17 and 2.1.7.18) does not work well with DataObjects.Net. If you installed DataObjects.Net from NuGet and get the following error when compiling:
Error in MulticastAttributeUsage applied on type 'Xtensive.Orm.PersistentAspect': attribute inheritance is not supported on properties and events.
you should downgrade your PostSharp to version 2.1.7.16.
To do this open package manager console (Tools ->Library package manager -> Package Manager Console) and execute the following commands:
> Uninstall-Package PostSharp -Force
> Install-Package PostSharp -Version 2.1.7.16
Recently released DataObjects.Net 4.5.5 and 4.6.0 explicitly set maximal supported version of PostSharp to 2.1.7.16 so you will not get this error when using them.
Error in MulticastAttributeUsage applied on type 'Xtensive.Orm.PersistentAspect': attribute inheritance is not supported on properties and events.
you should downgrade your PostSharp to version 2.1.7.16.
To do this open package manager console (Tools ->Library package manager -> Package Manager Console) and execute the following commands:
> Uninstall-Package PostSharp -Force
> Install-Package PostSharp -Version 2.1.7.16
Recently released DataObjects.Net 4.5.5 and 4.6.0 explicitly set maximal supported version of PostSharp to 2.1.7.16 so you will not get this error when using them.





Your insights are fascinating! Check out our brick mailbox builders in Cache Valley on our site
ReplyDeleteRecent updates in PostSharp have caused compatibility issues for some developers using PostSharp with DataObjects.Net, especially when versions 2.1.7.17 and 2.1.7.18 are installed through NuGet. A common compile-time issue appears around attribute inheritance on Xtensive.Orm.PersistentAspect, which interrupts normal project builds. In such cases, moving back to PostSharp version 2.1.7.16 is the most stable fix and often restores successful compilation quickly. Open the Package Manager Console from Tools → Library Package Manager and run the downgrade command before rebuilding the solution. Even technical troubleshooting like this shows why clear guidance matters, much like reliable Online law assignment help helps students handle complex academic tasks smoothly
ReplyDeleteBetter airflow and system performance can be achieved with timely Duct Replacement in older HVAC systems.
ReplyDelete