When building our projects with DataObjects 5 and Visual Studio 2019 we have following errors on various projects:

56>------ Build started: Project: Parser, Configuration: Debug Any CPU ------

56>EXEC : error XW0006: Unable to remove backing field: type: ParserModule, property: InputIsXml, field:

56>EXEC : error XW0006: Unable to remove backing field: type: ParserModule, property: Parser, field:

56>EXEC : error XW0006: Unable to remove backing field: type: Parser, property: Supplier, field:

56>C:\Users\vbaur.nuget\packages\xtensive.orm\5.0.18\DataObjects.Net.targets(50,3): error : Weaving of persistent types ended up with an error.

As a workaround we have to clean the project and relaunch the build but this slows our development process a lot. We did not have this issue until a few month ago.

Do you have any idea how we can avoid these weaving errors?

asked Jan 29 '20 at 04:06

ViBa's gravatar image

ViBa
5112


One Answer:

Hello ViBa,

Something happened when you started seeing this message. Maybe some refactoring? Updates? Also Check the setters of properties - they have to exist.

answered Aug 30 '21 at 07:31

Alexey%20Kulakov's gravatar image

Alexey Kulakov
77225

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA