Page 1 of 1

bufferAdapter is not a VsTextDocData

Posted: Thu 12 Nov 2020 22:01
by raubv0gel
Any help on this? Image

I have a new project using .NET 5. I’m trying to use EF 6 and Devart dotconnect.

Re: bufferAdapter is not a VsTextDocData

Posted: Fri 13 Nov 2020 11:37
by Shalex
The latest updates of Visual Studio 2019 brought a number of changes in behavior that is incompatible with older versions. Entity Developer integrated into VS2019 (Normal and Preview) has problems in a number of scenarios with saving models for .NET Core and .NET 5 projects. For now, we recommend that you use the standalone Entity Developer for .NET 5 development whenever possible to avoid losing your changes.

We are working on solving the arisen problems with VS2019.

As a temporary workaround, save the model in VS2019 via File > Save As and leave the original name. It should work this way.

Re: bufferAdapter is not a VsTextDocData

Posted: Fri 13 Nov 2020 12:55
by raubv0gel
Thanks for advice! Changing the Model, closing it, will prompt for saving changes – works too.

I’m looking forward to see VS 2019 16.8 and EF 5 support.

Best regards!

Re: bufferAdapter is not a VsTextDocData

Posted: Fri 04 Dec 2020 21:06
by Shalex
Entity Framework Core 5.0 is supported by dotConnect for MySQL v8.19: viewtopic.php?f=2&t=44278.

Re: bufferAdapter is not a VsTextDocData

Posted: Mon 12 Apr 2021 13:47
by Shalex
The bug with throwing "bufferAdapter is not a VsTextDocData" when saving a model in .NET Core, .NET Standard, .NET 5, .NET 6 projects of Visual Studio 2019 is fixed in dotConnect for MySQL v8.19.1866: viewtopic.php?f=2&t=45001.

Be aware of a side effect caused by our fix - the diagram window of a model is not marked with the asterisk in its tab title in Visual Studio after the model has been modified. We will look for a solution to this issue.