ErrorIfLinkFails — различия между версиями
Материал из Фабиус wiki
Hisava (обсуждение | вклад) м |
Hisava (обсуждение | вклад) м |
||
(не показаны 3 промежуточные версии этого же участника) | |||
Строка 1: | Строка 1: | ||
After updating to VS2019 16.4 no build work anymore. Parameter "ErrorIfLinkFails" on Copy command is not supported | 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.. | ||
+ | |||
= Смотрите также = | = Смотрите также = | ||
[https://developercommunity.visualstudio.com/content/problem/846799/after-updating-to-vs2019-164-no-build-work-anymore.html developercommunity.visualstudio.com] | [https://developercommunity.visualstudio.com/content/problem/846799/after-updating-to-vs2019-164-no-build-work-anymore.html developercommunity.visualstudio.com] |
Текущая версия на 13:53, 1 апреля 2020
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..