I am trying to compile log4cpp_x86 in visual studio 2019, but it gives me the error as below,
I tried to change the location of the project from D: to C:, but still problem persist, and also I unmarked the folder as ReadOnly but it also doesn't work.
also when I click on the error i.e marked with MSB3073 it redirects me to the line in Microsoft.CppCommon.targets, which has the xml tag as:
<Exec Command="%(CustomBuildStep.Command)$(_BuildSuffix)"/>
As link is suggested by the @HansPassant its the half solution in my case, but before following procedure suggested in that link, I replaced the whole log4cpp project having corrupted solution file with xml tag as below,
with old project having solution file with below tags,
And then I followed the steps of the link as suggested by @HansPassant, however I didn't followed first step(i.e. download new version of log4cpp) in that link, rather I replaced the project with old project and then followed all the procedure according to suggestions in that link, and that solved my problem.