Error loading Entity Developer in Visual Studio 2010

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
tomstyles
Posts: 1
Joined: Thu 24 Jun 2010 17:46

Error loading Entity Developer in Visual Studio 2010

Post by tomstyles » Thu 24 Jun 2010 18:15

Hi.

We've just upgraded to Visual Studio 2010. Now when we open up the project we get an error message:-

Code: Select all

The 'Devart.EntityDeveloper.Vs.EntityDeveloperPackage, DevartEntityDeveloper.VS, Version=2.80.130.0, Culture-Neutral, PublicKeyToken=09af7300eec23701' package did not load correctly.
It then makes the suggestion of running Visual Studio with the /log switch which we did. and recorded the following error:-

Code: Select all

    268
    2010/06/24 15:21:18.158
    Information
    VisualStudio
    Begin package load [Devart.EntityDeveloper.Vs.EntityDeveloperPackage, Devart.EntityDeveloper.Vs, Version=2.80.130.0, Culture=neutral, PublicKeyToken=09af7300eec23701]
    {F768FF79-B6CD-4D64-9D7D-0A44615D6DB3}
  
  
    269
    2010/06/24 15:21:18.158
    Error
    VisualStudio
    CreateInstance failed for package [Devart.EntityDeveloper.Vs.EntityDeveloperPackage, Devart.EntityDeveloper.Vs, Version=2.80.130.0, Culture=neutral, PublicKeyToken=09af7300eec23701]
    {F768FF79-B6CD-4D64-9D7D-0A44615D6DB3}
    80070002
    Could not load file or assembly 'file:///C:\PrivateAssemblies\Devart\Devart.EntityDeveloper.Vs.dll' or one of its dependencies. The system cannot find the file specified.
  
  
    270
    2010/06/24 15:21:18.158
    Error
    VisualStudio
    End package load [Devart.EntityDeveloper.Vs.EntityDeveloperPackage, Devart.EntityDeveloper.Vs, Version=2.80.130.0, Culture=neutral, PublicKeyToken=09af7300eec23701]
    {F768FF79-B6CD-4D64-9D7D-0A44615D6DB3}
    80004005 - E_FAIL
    Could not load file or assembly 'file:///C:\PrivateAssemblies\Devart\Devart.EntityDeveloper.Vs.dll' or one of its dependencies. The system cannot find the file specified.
  
  
    271
    2010/06/24 15:21:58.456
    Error
    VisualStudio
    Construction of frame content failed.
Frame identifier: ST:0:0:{4e5cf7e6-7f4b-49e2-8289-1a93380f6b36}
Frame caption: 
Exception details:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
  
We have tried uninstalling and reinstalling Devart OraDeveloper Tools for VS2010 but it has made no difference.

I've even found the reference in the registry that is pointing to this file which reads

Code: Select all

\PrivateAssemblies\Devart\Devart.EntityDeveloper.Vs.dll
I don't really know what is going on but it would be good to fix it.

Tom

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

Post by Shalex » Tue 29 Jun 2010 13:37

You have re-installed only OraDeveloper Tools. But Entity Developer is a part of dotConnect for Oracle installation. Please make sure that your version of dotConnect for Oracle supports VS2010 (history), and re-install provider to enable the VS2010 integration.

jalle007
Posts: 2
Joined: Sat 02 Dec 2017 18:30

Re: Error loading Entity Developer in Visual Studio 2010

Post by jalle007 » Sat 02 Dec 2017 18:46

I'm having the same error here:
The 'Devart.EntityDeveloper.Vs.EntityDeveloperPackage' package did not load correctly.
Image

My VS 2017 installation is running perfectly fine, except this error.
I need to remove trash from my computer !!

Secondly, registering on this forum is a terrible experience. Whose idea is to capture a letter from captcha?!?!?
Even when you come up with a captcha control, you are welcomed with a warning that you can not register and you have to wait. WTF !?

Luckily I have VPN so I'm here to tell you this.

Do me a favor, fire that developer, he/she is
a disgrace for a developer community

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

Re: Error loading Entity Developer in Visual Studio 2010

Post by Shalex » Mon 04 Dec 2017 10:59

jalle007 wrote:I'm having the same error here:
The 'Devart.EntityDeveloper.Vs.EntityDeveloperPackage' package did not load correctly.
1. Please reinstall the Devart product with checking environment:
a) uninstall dotConnect for MySQL and other Devart ADO.NET products (e.g.: Entity Developer as a separate product)
b) make sure (via some file manager like https://x-diesel.com/) that there are no Devart.* and policy.*.Devart.* files/folders in the following locations:
* GAC 2.0 (\Windows\assembly\GAC_MSIL\)
* GAC 4.0 (\Windows\Microsoft.NET\assembly\GAC_MSIL\)
c) clear the directories:
* \Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\PrivateAssemblies\Devart\
* \Program Files (x86)\Devart\
* \Program Files (x86)\Common Files\Devart\
* \Documents and Settings\All Users\Devart\EntityDeveloper\
* \Documents and Settings\All Users\Devart\dotConnect\
d) run installation of dotConnect for MySQL via its right click > Run as administrator menu

Does this help? If not, send us your C:\Users\...\AppData\Roaming\Microsoft\VisualStudio\15.0_cd17adc1\ActivityLog.xml.
jalle007 wrote:Secondly, registering on this forum is a terrible experience. Whose idea is to capture a letter from captcha?!?!?
2. I followed the steps for registring a new account, filled the required fields, entered a captcha code (without the last symbol), received a message:
"Your account has been created. However, this board requires account activation, an activation key has been sent to the e-mail address you provided. Please check your e-mail for further information."
Email from support@devart.com came to my email box within 1 minute, pressed the link received, that's all, registration was finished.
jalle007 wrote:Even when you come up with a captcha control, you are welcomed with a warning that you can not register and you have to wait. WTF !?
3. Could you please try registering again and specify the exact text of the warning you get?

Whompy
Posts: 3
Joined: Wed 07 Nov 2018 20:02

Re: Error loading Entity Developer in Visual Studio 2010

Post by Whompy » Wed 07 Nov 2018 20:10

I am having the same problem: I recently upgraded to version 6.3.606 from version 6.3.569 .Visual Studio 2017 is not an option on running the installer.

Visual studio 2017 is giving the error:

"The 'Devart.EntityDeveloper.Vs.EntityDeveloperPackage' package did not load correctly."

Further, I have uninstalled and reinstalled, this didn't help any. Then I followed the advice in the previous post (trying to nuke all things DevArt) and reinstalling. Still nothing. It is as though it doesn't recognize that VS2017 is an option to install to.

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

Re: Error loading Entity Developer in Visual Studio 2010

Post by Shalex » Thu 08 Nov 2018 12:04

1. Please uninstall Entity Developer again.

2. Navigate to "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\Devart\EntityDeveloper". Remove all the files in this folder (if any).

3. Run Visual Studio 2017, go to Tools > Extensions and Updates > Installed, search for Devart.EntityDeveloper.VSPackage. If it is still installed, press Disable. Re-run VS2017 to refresh extensions cache.

4. Install Entity Developer v6.3.606 via Run as administrator. Does it work now?

Whompy
Posts: 3
Joined: Wed 07 Nov 2018 20:02

Re: Error loading Entity Developer in Visual Studio 2010

Post by Whompy » Thu 08 Nov 2018 14:34

Still doesn't work: get the same message;

---------------------------
Microsoft Visual Studio
---------------------------
The 'Devart.EntityDeveloper.Vs.EntityDeveloperPackage' package did not load correctly.

The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file
\AppData\Roaming\Microsoft\VisualStudio\15.0_199252f0\ActivityLog.xml'.
Restarting Visual Studio could help resolve this issue.

Again, the option to install in to VS 2017 was not there (only 2010, 2012, 2015)
Image

Still can't open up the edml's from within VS and whatever build step that generates metadata is missing from VS2017 : when debugging the error "Unable to load the specified metadata resource" is thrown whenever data access is attempted.

Whompy
Posts: 3
Joined: Wed 07 Nov 2018 20:02

Re: Error loading Entity Developer in Visual Studio 2010

Post by Whompy » Sat 10 Nov 2018 01:08

Ok.

Despite the lack of documentation (I mean, really, none whatsoever?) I was able to discern a partial fix via first principles, the advantage of having a bunch of other machines to play with and, what I like to call "persistence".

There are six things required to make this product work (albeit imperfectly) for Microsoft Visual Studio 2017 (VS2017, VS 2017)
  • 1: Remove all references to any previous version of any devart product, including references to Devart within the private hive visual studio holds on to, example, adjust to your specifics:
    https://visualstudioextensions.vlasovst ... -settings/

    2: Insert the following into the "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.config" (e.g. Using version 6.3.606, otherwise insert your version)

    Code: Select all

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

    Code: Select all

            <dependentAssembly>
              <assemblyIdentity name="Devart.EntityDeveloper.Vs" publicKeyToken="09af7300eec23701" culture="neutral" />
              <codeBase version="6.3.606.0" href="PrivateAssemblies\Devart\Devart.EntityDeveloper.Vs.dll" />
            </dependentAssembly>
            <dependentAssembly>
              <assemblyIdentity name="NHibernate" publicKeyToken="aa95f207798dfdb4" culture="neutral" />
              <bindingRedirect oldVersion="0.0.0.0-3.3.1.4000" newVersion="3.3.1.4000" />
            </dependentAssembly>
            <dependentAssembly>
              <assemblyIdentity name="EntityDeveloper.Common" publicKeyToken="09af7300eec23701" culture="neutral" />
              <bindingRedirect oldVersion="1.0.0.0-6.3.606.0" newVersion="6.3.606.0" />
            </dependentAssembly>
          </assemblyBinding>
    3: Insert the following into the file "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\v15.0\Custom.After.Microsoft.Common.targets"

    Code: Select all

    <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      <Import Project="$(MSBuildExtensionsPath)\Devart\v3.5\Devart.Data.Entity.targets" Condition="'$(ImportDevartEntityDeploy)'!='false' and Exists('$(MSBuildExtensionsPath)\Devart\v3.5\Devart.Data.Entity.targets')" />
    </Project>
    4: Include the Devart Binaries (Devart.Data.Entity.Build.Tasks.dll, Devart.Data.Entity.Targets) from your licensed install into the "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Devart\v3.5" directory

    5: It may or may not be required to emplace the following into the "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\PrivateAssemblies\Devart" directory
    Image
While this will not get one the customer experience one would expect from a product, paid for no less, it will allow the development process to continue without error until DevArt gets their shit together.

Pray tell, by what mechanism does the Devart installer determine what version(s) of Visual Studio is installed?
Last edited by Whompy on Sat 10 Nov 2018 01:43, edited 2 times in total.

Post Reply