locked
VS 2013 Express problems RRS feed

  • Question

  • User-262684903 posted

    Hi.

    It's been days I'm experiencing problems; it all started when the "Add Controller" context menu was missing for MVC 5 project, so I decided to Repair the installation and then unisntall and reinstall fro sctatch... I've tried these things more than one, but nothing changed. On top of all, now whe I try to create a new WebProject it VS gives me this error (translated manually by me, the original exception being in Italian, even if VS is English...):

    Can't load the type 'Microsoft.VisualStutio.Web.WindowsAzure.Contracts.AzureResourceCreationType"  from the assembly "Microsoft.VisualStudio.Web.Internal.Contracts, Version=2.3.0.0, Culture=neutral, PublicKeyToken={GUID}'

    I've already tried to add Microsoft.VisualStudio.Web.Internal.Contracts manually to the GAC

    Activity.log has the following errors.

    I don't know what to do next :(

    Many thanks,

    Lorenzo

      <entry>
        <record>127</record>
        <time>2014/10/29 15:03:15.870</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\VWDEXPRESSEXTENSIONS\MICROSOFT\WEB TOOLS\Languages\Microsoft.VisualStudio.Web.Extensions.dll</path>
      </entry>
      <entry>
        <record>128</record>
        <time>2014/10/29 15:03:15.870</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Il metodo &apos;CreateArtifactCollection&apos; del tipo &apos;Microsoft.Web.Languages.HtmlTemplates.Artifacts.HtmlTemplateArtifactProcessor&apos; dell&apos;assembly &apos;Microsoft.VisualStudio.Web.Extensions, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; non ha un&apos;implementazione.</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\VWDEXPRESSEXTENSIONS\MICROSOFT\WEB TOOLS\Languages\Microsoft.VisualStudio.Web.Extensions.dll</path>
      </entry>
      <entry>
        <record>129</record>
        <time>2014/10/29 15:03:15.870</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Impossibile caricare il tipo &apos;Microsoft.Html.Core.IArtifactProcessorProvider&apos; dall&apos;assembly &apos;Microsoft.Html.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;.</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\VWDEXPRESSEXTENSIONS\MICROSOFT\WEB TOOLS\Languages\Microsoft.VisualStudio.Web.Extensions.dll</path>
      </entry>
      <entry>
        <record>130</record>
        <time>2014/10/29 15:03:15.875</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\VWDEXPRESSEXTENSIONS\MICROSOFT\WEB TOOLS\Languages\Microsoft.VisualStudio.JavaScript.Web.Extensions.dll</path>
      </entry>
      <entry>
        <record>131</record>
        <time>2014/10/29 15:03:15.875</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Impossibile caricare il tipo &apos;Microsoft.VisualStudio.Html.Project.ProjectFileEnumeration&apos; dall&apos;assembly &apos;Microsoft.VisualStudio.Html.Package, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;.</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\VWDEXPRESSEXTENSIONS\MICROSOFT\WEB TOOLS\Languages\Microsoft.VisualStudio.JavaScript.Web.Extensions.dll</path>
      </entry>
      <entry>
        <record>132</record>
        <time>2014/10/29 15:03:15.927</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\COMMONEXTENSIONS\DATADESIGN\Microsoft.VisualStudio.DataDesign.WpfComponents.dll</path>
      </entry>
      <entry>
        <record>133</record>
        <time>2014/10/29 15:03:15.928</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Impossibile caricare il file o l&apos;assembly &apos;Microsoft.Windows.Design.Extensibility, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; o una delle relative dipendenze. Impossibile trovare il file specificato.</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\COMMONEXTENSIONS\DATADESIGN\Microsoft.VisualStudio.DataDesign.WpfComponents.dll</path>
      </entry>
      <entry>
        <record>134</record>
        <time>2014/10/29 15:03:15.978</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\VWDEXPRESSEXTENSIONS\MICROSOFT\WEB TOOLS\Publish\Microsoft.VisualStudio.Web.Publish.dll</path>
      </entry>
      <entry>
        <record>135</record>
        <time>2014/10/29 15:03:15.978</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Impossibile caricare il tipo &apos;Microsoft.VisualStudio.Web.Internal.Contracts.Publish.IVsWebPublishActivityWindowInternal&apos; dall&apos;assembly &apos;Microsoft.VisualStudio.Web.Internal.Contracts, Version=2.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;.</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\VWDEXPRESSEXTENSIONS\MICROSOFT\WEB TOOLS\Publish\Microsoft.VisualStudio.Web.Publish.dll</path>
      </entry>
      <entry>
        <record>136</record>
        <time>2014/10/29 15:03:15.978</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Impossibile caricare il file o l&apos;assembly &apos;Microsoft.VisualStudio.Web.Publish.Contracts, Version=2.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; o una delle relative dipendenze. Impossibile trovare il file specificato.</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\VWDEXPRESSEXTENSIONS\MICROSOFT\WEB TOOLS\Publish\Microsoft.VisualStudio.Web.Publish.dll</path>
      </entry>
      <entry>
        <record>137</record>
        <time>2014/10/29 15:03:15.978</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Impossibile caricare il tipo &apos;Microsoft.VisualStudio.Web.Internal.Contracts.Publish.IVsWebProjectPublishInternal&apos; dall&apos;assembly &apos;Microsoft.VisualStudio.Web.Internal.Contracts, Version=2.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;.</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\VWDEXPRESSEXTENSIONS\MICROSOFT\WEB TOOLS\Publish\Microsoft.VisualStudio.Web.Publish.dll</path>
      </entry>
      <entry>
    
    [...]
      <entry>
        <record>222</record>
        <time>2014/10/29 15:03:15.983</time>
        <type>Information</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Successfully loaded component assembly from cache</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\COMMONEXTENSIONS\PLATFORM\NAVIGATETO\Microsoft.VisualStudio.Language.NavigateTo.Implementation.dll</path>
      </entry>
      <entry>
        <record>223</record>
        <time>2014/10/29 15:03:16.022</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\COMMONEXTENSIONS\PLATFORM\DIAGNOSTICSHUB\Microsoft.DiagnosticsHub.VisualStudio.Package.dll</path>
      </entry>
    
    [...]
    WARNINGS!!
    <entry>
        <record>263</record>
        <time>2014/10/29 15:03:19.831</time>
        <type>Warning</type>
        <source>VisualStudio</source>
        <description>One or more templates do not match any installed project packages.</description>
      </entry>
      <entry>
        <record>264</record>
        <time>2014/10/29 15:03:19.834</time>
        <type>Warning</type>
        <source>VisualStudio</source>
        <description>Found templates with duplicate template ids at &quot;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VWDExpress\ProjectTemplatesCache\CSharp\Windows\1033\ClassLibrary\csClassLibrary.vstemplate&quot; and &quot;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VWDExpress\ProjectTemplatesCache\CSharp\Windows\1033\ClassLibrary_WorkerRole_cs_23.zip\ClassLibrary_WorkerRole.vstemplate&quot;</description>
      </entry>
      <entry>
        <record>265</record>
        <time>2014/10/29 15:03:19.834</time>
        <type>Warning</type>
        <source>VisualStudio</source>
        <description>Found templates with duplicate template ids at &quot;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VWDExpress\ProjectTemplatesCache\CSharp\Windows\1033\ClassLibrary_WorkerRole_cs_23.zip\ClassLibrary_WorkerRole.vstemplate&quot; and &quot;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VWDExpress\ProjectTemplatesCache\CSharp\Windows\1033\ClassLibrary_WorkerRole_cs_24.zip\ClassLibrary_WorkerRole.vstemplate&quot;</description>
      </entry>
      <entry>
        <record>266</record>
        <time>2014/10/29 15:03:19.835</time>
        <type>Warning</type>
        <source>VisualStudio</source>
        <description>Found templates with duplicate template ids at &quot;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VWDExpress\ProjectTemplatesCache\CSharp\ServiceBus\1033\WorkerRoleWithSBQueueProject_23.zip\WorkerRoleWithSBQueueProject.vstemplate&quot; and &quot;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VWDExpress\ProjectTemplatesCache\CSharp\ServiceBus\1033\WorkerRoleWithSBQueueProject_24.zip\WorkerRoleWithSBQueueProject.vstemplate&quot;</description>
      </entry>
      <entry>
        <record>267</record>
        <time>2014/10/29 15:03:19.835</time>
        <type>Warning</type>
        <source>VisualStudio</source>
        <description>Found templates with duplicate template ids at &quot;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VWDExpress\ProjectTemplatesCache\VisualBasic\Windows\1033\ClassLibrary\classlibrary.vstemplate&quot; and &quot;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VWDExpress\ProjectTemplatesCache\VisualBasic\Windows\1033\ClassLibrary_WorkerRole_vb_23.zip\ClassLibrary_WorkerRole.vstemplate&quot;</description>
      </entry>
      <entry>
        <record>268</record>
        <time>2014/10/29 15:03:19.835</time>
        <type>Warning</type>
        <source>VisualStudio</source>
        <description>Found templates with duplicate template ids at &quot;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VWDExpress\ProjectTemplatesCache\VisualBasic\Windows\1033\ClassLibrary_WorkerRole_vb_23.zip\ClassLibrary_WorkerRole.vstemplate&quot; and &quot;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VWDExpress\ProjectTemplatesCache\VisualBasic\Windows\1033\ClassLibrary_WorkerRole_vb_24.zip\ClassLibrary_WorkerRole.vstemplate&quot;</description>
      </entry>
      <entry>
        <record>269</record>
        <time>2014/10/29 15:03:19.836</time>
        <type>Warning</type>
        <source>VisualStudio</source>
        <description>Found templates with duplicate template ids at &quot;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VWDExpress\ProjectTemplatesCache\VisualBasic\ServiceBus\1033\WorkerRoleWithSBQueueProject_23.zip\WorkerRoleWithSBQueueProject.vstemplate&quot; and &quot;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VWDExpress\ProjectTemplatesCache\VisualBasic\ServiceBus\1033\WorkerRoleWithSBQueueProject_24.zip\WorkerRoleWithSBQueueProject.vstemplate&quot;</description>
      </entry>
    [...]
    <entry>
        <record>368</record>
        <time>2014/10/29 15:03:20.437</time>
        <type>Warning</type>
        <source>UserConnection</source>
        <description>Newer version of resource during SetAttributes: VSS011053: A different version of resource &apos;VWDExpress.12;PreferredProfile&apos; exists on the server. Given version &apos;0&apos; while existing version is &apos;857&apos;. (ActivityId: 6206dae0-ed25-4c10-be82-996ebedd08f2)</description>
      </entry>
      <entry>
        <record>369</record>
        <time>2014/10/29 15:03:21.014</time>
        <type>Warning</type>
        <source>UserConnection</source>
        <description>Newer version of resource during SetAttribute: VSS011053: A different version of resource &apos;VWDExpress.12;PreferredProfile&apos; exists on the server. Given version &apos;0&apos; while existing version is &apos;857&apos;. (ActivityId: e4825d92-2584-493a-8000-13eb7cdd0fee)</description>
      </entry>
      <entry>
        <record>370</record>
        <time>2014/10/29 15:03:21.398</time>
        <type>Warning</type>
        <source>UserConnection</source>
        <description>Newer version of resource during SetAttribute: VSS011053: A different version of resource &apos;VWDExpress.12;Environment.Aliases&apos; exists on the server. Given version &apos;0&apos; while existing version is &apos;2483&apos;. (ActivityId: f50dcba3-a92d-4fe9-bccc-64f4eb054047)</description>
      </entry>
      <entry>
        <record>371</record>
        <time>2014/10/29 15:03:21.947</time>
        <type>Warning</type>
        <source>UserConnection</source>
        <description>Newer version of resource during SetAttribute: VSS011053: A different version of resource &apos;VWDExpress.12;Environment.FontsAndColors&apos; exists on the server. Given version &apos;0&apos; while existing version is &apos;2455&apos;. (ActivityId: 644c7c9b-d5ab-40f5-97ef-66f7b50d4934)</description>
      </entry>

    Wednesday, October 29, 2014 11:07 AM

Answers

  • User-262684903 posted

    Hi Angie and thank you for your reply!

    I had already tried that solution (Install and reinstall Asure SDKs) but it didnt work; finally I've been able to fix everythig  just a couple of minutes ago :)

    I had to "/unistall /force" VS 2013, delete everything from the FileSystem "ProgramFiles(x86)" and "\Users\xxx\AppData" and Registry; then I repaired the old installation of VS2010 (which was broken after the "/uninstall /force" of VS2013), then reinstall VS 2013, delete every entry in \windows\Microsoftr.net\Assembly\*\Microsoft.AspNet.Scaffolding.

    Finally (after days) it works as expected, but it's been an huge work.

    Lorenzo

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 30, 2014 9:28 AM

All replies

  • User-166373564 posted

    HI Lorenzo,

    Can't load the type 'Microsoft.VisualStutio.Web.WindowsAzure.Contracts.AzureResourceCreationType"  from the assembly "Microsoft.VisualStudio.Web.Internal.Contracts, Version=2.3.0.0, Culture=neutral, PublicKeyToken={GUID}'

    According to the error message above, you need install Windows Azure SDK for .NET in VS 2013. You can get the Azure SDK for the site below.

    SDKs: http://azure.microsoft.com/en-us/downloads/ 

    Please let me know if there is anything that I can do to help.

    Best regards,

    Angie

    Thursday, October 30, 2014 9:05 AM
  • User-262684903 posted

    Hi Angie and thank you for your reply!

    I had already tried that solution (Install and reinstall Asure SDKs) but it didnt work; finally I've been able to fix everythig  just a couple of minutes ago :)

    I had to "/unistall /force" VS 2013, delete everything from the FileSystem "ProgramFiles(x86)" and "\Users\xxx\AppData" and Registry; then I repaired the old installation of VS2010 (which was broken after the "/uninstall /force" of VS2013), then reinstall VS 2013, delete every entry in \windows\Microsoftr.net\Assembly\*\Microsoft.AspNet.Scaffolding.

    Finally (after days) it works as expected, but it's been an huge work.

    Lorenzo

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 30, 2014 9:28 AM