Building in VS 2019 in linux fail and give "error Linux.targets(514,5): error : One or more errors occurred" but not explaining any thing

  build, c++, linux, target, visual-studio-2019

I am using visual studio 2019 (C++) for projects on Linux machine.
The build fails and give me error:

1>Copying sources remotely to '192.168.3.144'
1>Validating architecture
1>Validating architecture
1>Starting remote build
1>Compiling sources:
1>C:Program Files (x86)Microsoft Visual Studio19ProfessionalMSBuildMicrosoftVCv160Application TypeLinux.0Linux.targets(514,5): error : One or more errors occurred.
1>Done building project "OM.vcxproj" -- FAILED.```

But doesn't show what the error is.
In the above tag (Linux.targets(514,5)) there are many assignment actions which I do not know their meaning.
Can someone guide or explain what can be done?
Thanks.

Source: Windows Questions C++

One Reply to “Building in VS 2019 in linux fail and give "error Linux.targets(514,5): error : One or more errors occurred" but not explaining any thing”

LEAVE A COMMENT