Custom tool error: bufferAdapter is not a VsTextDocData

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
HelmutJ
Posts: 8
Joined: Mon 13 Nov 2017 14:25

Custom tool error: bufferAdapter is not a VsTextDocData

Post by HelmutJ » Tue 11 Sep 2018 08:11

Hi,

I get the following error while trying to generate EF Core code with Entity Developer Tools (6.3.569) for VS2017 (15.8.3). When using the standalone application, it works without problems:

Image

Any ideas?

Best Regards
Helmut

Win10 Pro
Entity Developer 6.3.569
VS 2017 15.8.3
MS SQL 2017
EF Core
.Net Core 2.1

Pinturiccio
Devart Team
Posts: 2254
Joined: Wed 02 Nov 2011 09:44

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Post by Pinturiccio » Tue 11 Sep 2018 17:48

Please assign "DevartEFCoreGenerator" to the Custom Tool property of your *.efml model. Does it fix the issue?

Please also tell us whether the issue is reproduced only when you open an old model. Is it reproduced too when you create a new model, save it, reopen, and then rebuild it?

And tell us which .Net Core project you create (console, asp.net, library etc.).

HelmutJ
Posts: 8
Joined: Mon 13 Nov 2017 14:25

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Post by HelmutJ » Thu 13 Sep 2018 11:20

Pinturiccio wrote:
Tue 11 Sep 2018 17:48
Please assign "DevartEFCoreGenerator" to the Custom Tool property of your *.efml model. Does it fix the issue?
This was already assigned
Pinturiccio wrote:
Tue 11 Sep 2018 17:48
Please also tell us whether the issue is reproduced only when you open an old model. Is it reproduced too when you create a new model, save it, reopen, and then rebuild it?
The error doesn't occure, when I work with a new model
Pinturiccio wrote:
Tue 11 Sep 2018 17:48
And tell us which .Net Core project you create (console, asp.net, library etc.).
We have multiple class libraries, one where the .efml is stored, another one where the context is generated to and a third where the models are generated to.

Best Regards
Helmut

Pinturiccio
Devart Team
Posts: 2254
Joined: Wed 02 Nov 2011 09:44

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Post by Pinturiccio » Fri 14 Sep 2018 13:50

Thank you for the provided information. Please create and send us a complete small test project with a model that reproduce the issue.
You can archive your project and upload it to our ftp server (ftp://ftp.devart.com, credentials: anonymous/anonymous ) or to any file exchange server so that we could download it from there. And send us the password to the archive.

HelmutJ
Posts: 8
Joined: Mon 13 Nov 2017 14:25

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Post by HelmutJ » Tue 18 Sep 2018 12:49

Hi,

this morning, I sent a example via the your contact form containing a dropbox link.

Best Regards
Helmut Joost

Shalex
Site Admin
Posts: 8321
Joined: Thu 14 Aug 2008 12:44

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Post by Shalex » Sat 22 Sep 2018 18:23

Thank you for the test project. We will investigate it and notify you about the result.

HelmutJ
Posts: 8
Joined: Mon 13 Nov 2017 14:25

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Post by HelmutJ » Thu 11 Oct 2018 07:12

Hi,

any news on this topic? It's very annoying for me to work with it, using the external editor, because it generates in the wrong folders, so I have to copy every file by my own... :-(

Best Regards
Helmut Joost

Shalex
Site Admin
Posts: 8321
Joined: Thu 14 Aug 2008 12:44

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Post by Shalex » Thu 11 Oct 2018 18:01

The bug with throwing "Custom tool error: bufferAdapter is not a VsTextDocData" in .NET Standard projects is fixed. We will notify you when the new public build is available.

Are you interested in getting the internal build with the fix?

HelmutJ
Posts: 8
Joined: Mon 13 Nov 2017 14:25

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Post by HelmutJ » Mon 15 Oct 2018 09:49

Hi,

yes this build would be helpful for us at the moment! Please send it to me.

Best Regards
Helmut Joost

Shalex
Site Admin
Posts: 8321
Joined: Thu 14 Aug 2008 12:44

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Post by Shalex » Mon 15 Oct 2018 12:12

We have just sent the download link to your email.

Post Reply