Hi, We are testing our solution under VS2015. Our version of Dataobjects is 4.6. We have the following compiler error under VS2015, which concerns Postsharp 2.1 : POSTSHARP : postsharp warning PS0134: Cannot read '....pdb': Unknown custom metadata item kind: 6
There seems to be an incompatibility between Postsharp 2.1 and VS2015. Postsharp 2.1 isn't maintained, so the problem won't be solved in Postsharp 2.1 by Gael Fraiteur : http://support.sharpcrafters.com/discussions/problems/2783-unknown-custom-metadata-item-kind-6
They advise to upgrade to Postsharp 3.1 or 4.1. Is it a possibility regarding Dataobject 4.6 that you compile it with Postsharp 3/4 ?
Or do we have to ugprade to Dataobjects 5 ? If so, what should we be aware regarding the upgrade process ?
asked Sep 24 '15 at 03:18
Hello Benoit Nesme
DataObjects 5 had had problems with build under VS 2015 too before we fixed them in 5.0.7 RC.
Upgrading to PostSharp 3.1 or 4.1 depends on changes in new version of PostSharp, I thing. We'll think about it.
Speaking of upgrade to DataObjects 5, we've changed some APIs and you might have to change your code.
Probably there are other changes which might affect your solution like removed methods or something like that. Amount of changes you have to do depends on what you use in the solution.
DO 5 have some improvements. Queries supports new methods. Added support for DateTimeOffset. Added support for non-transactional queries. Optimized persist actions. If you build several domains with same model than you defenetely should migrate to 5.0. We've implemented storage nodes. It allows you to build domain on different databases (or schemes) which use same model (have same structure) and switch between them easly. Also it saves memory. If you are interested in it I'll tell you more about storage nodes.
Anyway I'll help you with upgrade and answer your questions.
answered Sep 25 '15 at 08:30