Share via

Visual Studio build error.

Nahata, Dhawal (D) 1 Reputation point
2022-04-18T08:55:30.737+00:00

Hello team I am unable to open the application but when any applications opens on its build it shows the following error (sometimes error count is 150+):
"Severity Code Description Project File Line Suppression State
Error The "NuGet.Build.Tasks.GetReferenceNearestTargetFrameworkTask" task could not be loaded from the assembly C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.Build.Tasks.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, or one of its dependencies. The file or directory is corrupted and unreadable. (Exception from HRESULT: 0x80070570).

Microsoft Security | Microsoft Authenticator
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.