Page 1 of 1

Custom tool error: bufferAdapter is not a VsTextDocData

Posted: Tue 11 Sep 2018 08:11
by HelmutJ
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

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Posted: Tue 11 Sep 2018 17:48
by Pinturiccio
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.).

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Posted: Thu 13 Sep 2018 11:20
by HelmutJ
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

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Posted: Fri 14 Sep 2018 13:50
by Pinturiccio
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.

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Posted: Tue 18 Sep 2018 12:49
by HelmutJ
Hi,

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

Best Regards
Helmut Joost

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Posted: Sat 22 Sep 2018 18:23
by Shalex
Thank you for the test project. We will investigate it and notify you about the result.

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Posted: Thu 11 Oct 2018 07:12
by HelmutJ
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

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Posted: Thu 11 Oct 2018 18:01
by Shalex
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?

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Posted: Mon 15 Oct 2018 09:49
by HelmutJ
Hi,

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

Best Regards
Helmut Joost

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Posted: Mon 15 Oct 2018 12:12
by Shalex
We have just sent the download link to your email.

Re: Custom tool error: bufferAdapter is not a VsTextDocData

Posted: Thu 25 Oct 2018 17:25
by Shalex
New build of Entity Developer 6.3.606 is available for download now: viewtopic.php?f=32&t=37906.