Visual Studio 2017 updates corrupt dotConnect tools and Entity Developper windows

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
puma
Posts: 4
Joined: Thu 09 Mar 2017 09:39

Visual Studio 2017 updates corrupt dotConnect tools and Entity Developper windows

Post by puma » Tue 13 Jun 2017 09:32

Hello, this issue is getting me and my team crazy!
Every Vs update and every extension I install in VS 2017 corrupts dotConnect installation.
I compared devenv.exe.config in my AppData folder before and after an update and many lines are deleted.
For example in red deleted parts

<probing privatePath="PublicAssemblies;PrivateAssemblies;CommonExtensions\Microsoft\TemplateProviders;
CommonExtensions\Platform\Debugger;CommonExtensions\Platform\DiagnosticsHub;
PrivateAssemblies\DataCollectors;PrivateAssemblies\DataCollectors\x86;PrivateAssemblies\Devart"/>

<dependentAssembly>
<assemblyIdentity name="Devart.EntityDeveloper.Vs" publicKeyToken="09af7300eec23701" culture="neutral"/>
<codeBase version="6.1.265.0" href="PrivateAssemblies\Devart\Devart.EntityDeveloper.Vs.dll"/>
</dependentAssembly>


<dependentAssembly>
<assemblyIdentity name="EntityDeveloper.Common" publicKeyToken="09af7300eec23701" culture="neutral"/>
<bindingRedirect oldVersion="1.0.0.0-6.1.265.0" newVersion="6.1.265.0"/>
</dependentAssembly>


If i manually update config file adding missing parts, VS is launched without any popup error message box but in entitydevelopper windows i cant see model window, db connection window and i can't use contextual menu.

Only way to fix it for now is to reinstall dotConnect again.
Issue is the same cross OS and crosS VS version. I use windows 10 and vs2017 Professional, people of my team Windows 7 and Community or Windows 7 and Professional. All of us use mainly vs2017 side by side with vs2015 and no one reported any issue with vs2015

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

Re: Visual Studio 2017 updates corrupt dotConnect tools and Entity Developper windows

Post by Shalex » Tue 13 Jun 2017 11:51

Visual Studio Update removes the Devart entry from devenv.exe.config.

After VS2017 Update, please do the following (current workarounds):

1. Open "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe.config" with a text editor and add the ";PrivateAssemblies\Devart" (without quotes) entry to the existing <probing privatePath> attribute value. Then start your VS2017 via command line with the /setup key (https://docs.microsoft.com/en-us/visual ... devenv-exe):
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe" /setup

OR

2. Reinstall dotConnect for Oracle.

We have changed our provider registration to avoid this issue in the future builds of dotConnect for Oracle. We will notify you when the new build is available for download.

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

Re: Visual Studio 2017 updates corrupt dotConnect tools and Entity Developper windows

Post by Shalex » Wed 28 Jun 2017 14:17

The compatibility with Visual Studio 2017 Updates is improved: viewtopic.php?f=1&t=35592.

Post Reply