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

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
karel.kral
Posts: 7
Joined: Tue 02 Oct 2012 15:00

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

Post by karel.kral » Fri 04 Dec 2015 08:36

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>

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

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

Post by MariiaI » Fri 04 Dec 2015 13:18

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.

Post Reply