I created a new project in Visual Studio 2015 and when I attempted to build, received the following error:
The "EntityClean" task could not be loaded from the assembly c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Data.Entity.Build.Tasks.dll.
Could not load file or assembly 'file:///c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Data.Entity.Build.Tasks.dll' or one of its dependencies
I've built plenty of projects in VS 2015 without receiving this error. My new project is an ADO.NET Entity Data model, which may or may not be part of the problem. The problem turned out to be just what the error was describing:
The Microsoft.Data.Entity.Build.Tasks.dll wasn't in the expected directory:
c:\Windows\Microsoft.NET\Framework\v4.0.30319
To fix this issue, I simply copied the assembly from this folder (then had to re-open VS):
C:\Program Files (x86)\MSBuild\12.0\Bin
Recently I tried to create my project and I also had an error with some parts of it. I was looking for a solution how to avoid or fix it and found a solution here api-ms-win-crt-runtime-l1-1-0.dll download https://fix4dll.com/apimswincrtruntimel110_dll. My problem was fixed, and I created my projects further.
ReplyDelete