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)

Solution is not getting load, "Error : Could not load file or assembly Microsoft.Build, Version=12.0.0.0, Culture=neutral..."

(0) ShareShare
ReportReport
Posted on by

Hi,

I have a standalone VM where I am setting up environment for debugging purpose. When have connected with TFS and mapped my solution, but when I am trying to open the solution nothing is getting load and Showing message project can not be loaded.

I have installed installed VS 2013 Professional with update 4, Microsoft Build Tool 2015, Developer Pack 4.5.2, restarted the VM, Microsoft Framework 4.5, 4.5.1, restarted the VM but no luck.

Following is the Error message Output Window of VS : 

D:\XYZ\-----\MyProject\UpdateTaskConsoleApp.csproj : error : Could not load file or assembly 'Microsoft.Build, Version=12.0.0.0, Culture=neutral, publicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Please suggect what else I should do so that my solution get loaded without any issue.

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    prt33k Profile Picture
    6,907 on at
    RE: Solution is not getting load, "Error : Could not load file or assembly Microsoft.Build, Version=12.0.0.0, Culture=neutral..."

    Please upgrade to .NET Framework 4.5.2, as per SDK:

    Any web service client created by using Visual Studio and the Microsoft .NET Framework 4.5.2 that calls the Microsoft Dynamics CRM web services is fully supported in Microsoft Dynamics CRM. The use of ASP.NET AJAX is supported.

    Any .NET assembly that is created with Visual Studio and the Microsoft .NET Framework 4.5.2 for use in Microsoft Dynamics CRM as a Microsoft Dynamics CRM plug-in assembly or as a Microsoft Dynamics CRM custom workflow activity is supported.

    Any visualization (chart) that is created with .NET Framework 4.5.2 .

    Thanks,

    Prateek

  • Community Member Profile Picture
    on at
    RE: Solution is not getting load, "Error : Could not load file or assembly Microsoft.Build, Version=12.0.0.0, Culture=neutral..."

    Thanks Prateek for replying,

    I have tried to install .Net Framework 4.5.2 but its showing ,e following error message :

    ".NET Framework 4.5.2 or a later update is already installed on this computer."

    Means framework is already is installed,what else is missed then ?

    Thanks

  • Suggested answer
    prt33k Profile Picture
    6,907 on at
    RE: Solution is not getting load, "Error : Could not load file or assembly Microsoft.Build, Version=12.0.0.0, Culture=neutral..."

    What is the version of dll with Microsoft Build Tool 2015? As per my understanding it will be v14.0 onward.

    But your project seems to refer to older version.

    Please check the version of Msbuild in your machine, go to : C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Build

    and see the dll version.

    You can then open the .csproj in notepad and update the reference of Microsoft.Build to the new version. It will be under <ItemGroup> tag.

    Let me know if this work.

    Thanks,

    Prateek

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
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans