Page 1 of 1

Visual Studio crashes after installing Update 1 if Entity developer is installed

Posted: Fri 04 Dec 2015 08:36
by karel.kral
I think that this is not ED problem, but I would you and other users to know about this bug.

Problem: After VS 2015 Update 1 is installed, VS crashes. There are many errors of type "Package XXX did not load".

This happend on all computers where ED is installed. On computers where ED is not installed everything works ok.

After investigation, we have found, that Update 1 might not correctly update devenv.exe.config if ED is installed. We have manually modify this .config in 2 records bellow:

<dependentAssembly>
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="1.0.27.0-1.1.65535.65535" newVersion="1.1.37.0" />
</dependentAssembly>

<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.ProjectSystem.V14Only" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
<bindingRedirect oldVersion="14.0.0.0-14.9.0.0" newVersion="14.1.0.0" />
</dependentAssembly>

Re: Visual Studio crashes after installing Update 1 if Entity developer is installed

Posted: Fri 04 Dec 2015 13:18
by MariiaI
Thank you for report on this issue and the solution.

Generally, in such cases, it is recommended to perform these steps:
1) uninstall Entity Developer and other Devart products, which can use common assemblies (e.g., dotConnect for MySQL);
2) clear these folders:
- Program Files (x86)\Devart\dotConnect
- Program Files (x86)\Devart\Entity Developer
- Program Files (x86)\Common Files\Devart\dotConnect
- Program Files (x86)\Common Files\Devart\Entity Developer
- Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\Devart;
3) remove all Devart.* and policy.*.Devart.* files from the GAC:
- C:\Windows\assembly\GAC_MSIL\;
- C:\Windows\Microsoft.NET\assembly\GAC_MSIL
4) install Entity Developer (run installation package as administrator) and other Devart products, if necessary, with compatible version.

Make sure, that during uninstalling/installing all Visual Studio instances are closed..

If we can assist you any further, don't hesitate to contact us.