ErrorIfLinkFails
Материал из Фабиус wiki
Версия от 13:53, 1 апреля 2020; Hisava (обсуждение | вклад)
After updating to VS2019 16.4 no build work anymore. Parameter "ErrorIfLinkFails" on Copy command is not supported
Animha reported Dec 06, 2019 at 08:45 AM
After updating I got errors on bilding any project. Error is: error MSB4064: The “ErrorIfLinkFails” parameter is not supported by the “Copy” task. Verify the parameter exists on the task, and it is a settable public instance property. MSBuild version is 16.4.0.56107
Solution
Solution by Animha Dec 06, 2019 at 09:18 AM
I managed to have VS2019 building work again removing all entries like
ErrorIfLinkFails="$(ErrorIfLinkFailsForCopyFilesToOutputDirectory)
in file:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets
Not sure if this is a correct solution..