web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Could not load file or assemble

(0) ShareShare
ReportReport
Posted on by 445

Hi,

I'm receiving an error in visual studio community 2013 while trying to connect to crm online.

Could not load file or assembly 'Microsoft.windows.design.host, version =4.0.0.0,

Culture=neutral, PublicKey Token=b03f5f7f11d50a3a' or one of its dependencies.

The system cannot find.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Prasanna Lakshmi Profile Picture
    on at
    RE: Could not load file or assemble

    Hi Elangamban,

    I have you tried below steps :

    1 )community.dynamics.com/.../114939

    --> As VS2013 uses Microsoft.Windows.Design.Host v4.2 you need to add these lines to devenv.exe.config

    <dependentAssembly>

    <assemblyIdentity name="Microsoft.Windows.Design.Host" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />

    <bindingRedirect oldVersion="4.0.0.0-4.1.0.0" newVersion="4.2.0.0" />

    </dependentAssembly>

    --> Copy CRM MSBuild to C:\Program Files (x86)\MSBuild\Microsoft\CRM

    Or

    2) stackoverflow.com/.../could-not-load-file-or-assembly-microsoft-windows-design-host

    Extract the contents of CrmDeveloperToolsVS12_Installer.msi

    1.Open a Command Prompt as Administrator

    2.Navigate to: sdk\Tools\DeveloperToolkit\

    3.Run: msiexec /a CrmDeveloperToolsVS12_Installer.msi /qb TARGETDIR=<EXTRACTFOLDER>

    Be sure to copy the contents of the CRM MSBUILD folder you extracted from the msi package to: C:\Program Files (x86)\MSBuild\Microsoft\CRM

    Then you have to edit C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe.config and add the following lines:

    <dependentAssembly>

    <assemblyIdentity name="Microsoft.Windows.Design.Host" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />

    <bindingRedirect oldVersion="4.0.0.0-4.1.0.0" newVersion="4.2.0.0" />

    </dependentAssembly>

    Please check these steps which might resolve the issue.

    Regards,

    Prasanna Lakshmi.T.J

  • Elangamban Profile Picture
    445 on at
    RE: Could not load file or assemble

    Wow!! Thank you Prasanna Lakshmi, it worked.

    I added the following to devenv.exe.config (C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe.config)

    <dependentAssembly>

    <assemblyIdentity name="Microsoft.Windows.Design.Host" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />

    <bindingRedirect oldVersion="4.0.0.0-4.1.0.0" newVersion="4.2.0.0" />

    </dependentAssembly>

    Thanks.

  • Elangamban Profile Picture
    445 on at
    RE: Could not load file or assemble

    I've also another query.

    When I typed  'using Microsoft.Xrm.Sdk' its showing an error of The type or namespace name 'XRM' does not exist in the namespace microsoft are you missing an assembly reference.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans