Error in projects when upgrading Visual Studio 2017 to version 15.6.0

4

After upgrading the version of Visual Studio to the 15.6.0 update my projects ( C# ) started to show 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 have tried to reinstall, repair and nothing solved.

In the developer community has an open topic, but no replies to date.

    
asked by anonymous 08.03.2018 / 14:22

1 answer

5

As this response in SOen , the problem was that the update corrupted the Microsoft.Common.CurrentVersion.targets file. Just update this file as the problem is remedied.

Standard VS Enterprise directory:

C:\Program Files (x86)\Microsoft Visual Studio17>EnterpriseWMSBuild.0\bin>Microsoft.Common.CurrentVersion.targets

Default directory VS Community:

C:\Program Files (x86)\Microsoft Visual Studio17\Community\MSBuild.0\Bin

If someone needs to, until MS corrects, the file can be downloaded this link.

    
08.03.2018 / 14:22