Код: Выделить всё
Severity Code Description Project File Line Suppression State
Error MSB6001 Invalid command line switch for "CL.exe". System.ArgumentException: The number of source files and corresponding outputs must match.
at Microsoft.Build.Shared.ErrorUtilities.ThrowArgument(Exception innerException, String resourceName, Object[] args)
at Microsoft.Build.Utilities.CanonicalTrackedOutputFiles.RemoveDependenciesFromEntryIfMissing(ITaskItem[] source, ITaskItem[] correspondingOutputs)
at Microsoft.Build.CPPTasks.CL.PostExecuteTool(Int32 exitCode)
at Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands)
at Microsoft.Build.Utilities.ToolTask.Execute() HelloWorld C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 687
Я не могу избавиться от этой ошибки и еще не нашел решения подобной проблемы.
Любая помощь будет полезна. очень признателен, спасибо.



Подробнее здесь: https://stackoverflow.com/questions/683 ... must-match