ResolveComReference task could not be loaded
问题 Win7, VS2017, ASP Net core app, target framework is 4.6. When I try to build my project with CLI (it is needed before dotnet commands calling) the error occurs: C:...\Microsoft.Common.CurrentVersion.targets(2547,5): error MSB4062: The "Microsoft.Build.T asks.ResolveComReference" task could not be loaded from the assembly Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Confirm that the declaration is correct, that the assembly and all its