Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gordon Saxby 1465 posts 1887 karma points
    Apr 10, 2017 @ 11:37
    Gordon Saxby
    0

    Error trying to use ModelsBuilder in Visual Studio 2013

    I get an error when I try to use the Models Builder in Visual Studio 2013:

    enter image description here

    This is the details from the Visual Studio activity log:

      <entry>
        <record>768</record>
        <time>2017/04/10 11:28:19.585</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>CreateInstance failed for package [UmbracoModelsBuilder]</description>
        <guid>{6A4C1726-440F-4B2D-A2E5-711277DA6099}</guid>
        <hr>80070002</hr>
        <errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Shell.11.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
      </entry>
    

    It used to work but now it doesn't. I think I updated either the VS tool or the ModelsBuilder / ModelsBuilderApi nuget packages. I tried reverting to the previous nuget packages but it didn't help. I don't know if / how I can revert to the previous version of the Visual Studio tool.

  • Stephen 767 posts 2273 karma points c-trib
    Apr 12, 2017 @ 09:03
    Stephen
    0

    The error comes from the updated VSIX extension (eg the Visual Studio tool) so you want to uninstall it and revert to eg version 3.0.5. Hopefully it can be downloaded from Visual Studio gallery else let me know.

    The VSIX has been recently upgraded to work with Visual Studio 2017 but should work with Visual Studio 2012, 2013 and 2015. However, here it's looking for version 14.0.0.0 of the shell, which is Visual Studio 2015.

    So it looks like we have broken support for 2012 and 2013 - will look into it.

    (great report BTW, super easy to understand!)

  • Gordon Saxby 1465 posts 1887 karma points
    Apr 12, 2017 @ 09:09
    Gordon Saxby
    0

    I found an older (the previous?) version here - https://github.com/zpqrtbnk/Zbu.ModelsBuilder/releases/tag/3.0.1 and that seems to work OK.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

    Continue discussion

Please Sign in or register to post replies