Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HI

i AM FACING ONE ISSUE IN ASP.NET MVC WHEN WE ADD THE UNITY.MVC5 PACKAGE IN OUR APPLICATION

I have used 2013 vs

Target farmework :-.net framework 4.5.2

ERROR IS BELOW :-


Microsoft.Net.Compilers.2.4.0\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.What I have tried:

I AM JUST CREATING PRACTICE DEMO IN MVC
Posted
Updated 3-Mar-20 2:40am

1 solution

It' never used Unity, but by the error message, you appear to be missing another package it's dependent on.

Try right-clicking the References node in your project and clicking the Solution item (top item) in Solution Explorer and click on "Restore NuGet Packages".
 
Share this answer
 
Comments
Member 10194266 3-Mar-20 10:29am    
Hi Dave , I have do same thing which you refer me , but same error reflected
Dave Kreskowiak 3-Mar-20 14:19pm    
Then I have no idea what the problem is.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900