ErrorIfLinkFails — различия между версиями

Материал из Фабиус wiki
Перейти к: навигация, поиск
м (Solution)
м
 
(не показана одна промежуточная версия этого же участника)
Строка 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
avatar image Animha reported Dec 06, 2019 at 08:45 AM
+
 
 +
Animha reported Dec 06, 2019 at 08:45 AM
 
  After updating I got errors on bilding any project.
 
  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.
 
  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.
Строка 7: Строка 8:
 
Solution by Animha    Dec 06, 2019 at 09:18 AM
 
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:
+
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
 
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets
 
+
Not sure if this is a correct solution..
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..

Смотрите также

developercommunity.visualstudio.com