Project error when upgrading Visual Studio 2017 to version 15.6.0

Asked

Viewed 176 times

4

After upgrading the Visual Studio version to the update 15.6.0 all my projects (C#) have shown these errors:

The "ResolveAssemblyReference" task could not be initialized with its input parameters

The "ResolveAssemblyReference" task could not be initialized with its input parameters      

The "FindDependenciesOfExternallyResolvedReferences" parameter is not supported by the "ResolveAssemblyReference" task. Verify the parameter exists on the task, and it is a settable public instance property          

This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them

I tried to reinstall, repair and nothing solved.

In the Developer community has an open topic, but no answers so far.

  • 3

    The question is an attempt to catalog this error and present its solution in Portuguese. A great way to help the community. Can someone explain to me why she was negative?

  • 1

    Sublime programmers felt offended @LINQ ahahahah

1 answer

5

In accordance with this answer in Soen, the problem was that the update corrupted the file Microsoft.Common.CurrentVersion.targets. Just update this file that problem is fixed.

Standard directory VS Enterprise:

C:\Program Files (x86)\Microsoft Visual Studio\2017>EnterpriseWMSBuild\15.0\bin>Microsoft.Common.CurrentVersion.targets

Standard directory VS Community:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin

If someone needs, until MS fix, the file can be downloaded at this link.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.