MyBlog-ASP.NET-MVC5 icon indicating copy to clipboard operation
MyBlog-ASP.NET-MVC5 copied to clipboard

Could not load file or assembly 'Microsoft.Build.Utilities.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Open ivinraj opened this issue 7 years ago • 6 comments

Error 4 The "Microsoft.CodeAnalysis.BuildTasks.Csc" task could not be loaded from the assembly E:\ammu\New folder\MyBlog-ASP.NET-MVC5-master\packages\Microsoft.Net.Compilers.2.3.1\build..\tools\Microsoft.Build.Tasks.CodeAnalysis.dll. Could not load file or assembly 'Microsoft.Build.Utilities.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. MyBlog.UI

ivinraj avatar Apr 12 '18 12:04 ivinraj

Deleting these three directories solves the problem.

/packages /bin /obj

Right-click on your solution. Go to Manage Nuget Packages. Search for Microsoft.Net.Compilers. Install or update on dependent projects as necessary. Re-build, clean solution and restart Visual Studio .

Good Luck ;)

Alaeddinalhamoud avatar Apr 12 '18 12:04 Alaeddinalhamoud

Sir There Folders Bin And Obj Files is there which one i need to delete?

ivinraj avatar Apr 12 '18 13:04 ivinraj

error

ivinraj avatar Apr 13 '18 06:04 ivinraj

@Alaeddinalhamoud Please Help Me

ivinraj avatar Apr 13 '18 06:04 ivinraj

Use vs2017.

Alaeddinalhamoud avatar Apr 13 '18 07:04 Alaeddinalhamoud

okay sir @Alaeddinalhamoud

ivinraj avatar Apr 13 '18 08:04 ivinraj