Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ivinraj opened this issue Apr 12, 2018 · 6 comments

Comments

@ivinraj
Copy link

ivinraj commented Apr 12, 2018

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 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

@Alaeddinalhamoud
Copy link
Owner

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 ;)

@ivinraj
Copy link
Author

ivinraj commented Apr 12, 2018

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

@ivinraj
Copy link
Author

ivinraj commented Apr 13, 2018

error

@ivinraj
Copy link
Author

ivinraj commented Apr 13, 2018

@Alaeddinalhamoud Please Help Me

@Alaeddinalhamoud
Copy link
Owner

Use vs2017.

@ivinraj
Copy link
Author

ivinraj commented Apr 13, 2018

okay sir @Alaeddinalhamoud

Repository owner locked as resolved and limited conversation to collaborators Apr 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants