So I have C++ Player project which has 2 other project dependencies, both of which have post build events to copy the dll to another folder. The project was building, then it decided not to work randomly, and since then I have not found a solution. Even with a clean checkout from SVN, it still does not work, it works for all the other devs, apart from me.
I have checked the paths in the error messages, they do exist and as does the target dll.
Post-Build Event in each dependant project:
copy $(TargetPath) $(ProjectDir)..\..\$(Configuration)\plugins\$(ProjectName).dll
The resulting error:
error MSB3073: The command "copy C:\CMDev\CM2\Client\Apps\SSEP\Player\ACRP\CIAP\Debug\CIAP.dll C:\CMDev\CM2\Client\Apps\SSEP\Player\ACRP\CIAP....\Debug\plugins\CIAP.dll:VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 131 5
Current setup:
What have I tried:
What else can I try?
The problem was how VS was appending the :VCEnd suffix. Somehow the microsoft.CppCommon.targets file was modified incorrectly.
<PropertyGroup>
<_BuildSuffix>
:VCEnd</_BuildSuffix>
</PropertyGroup>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With