Jenkins 发布平台 MSB4064: The "Retries" parameter is not supported & error MSB4063: The "Copy" task could not be initialized

____________________________________________________________________________________________________

MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets(134,11): error MSB4064: The "Retries" parameter is not supported by the "Copy" task. Verify the parameter exists on the task, and it is a settable public instance property.

MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets(132,5): error MSB4063: The "Copy" task could not be initialized with its input parameters.

____________________________________________________________________________________________________

 

如何出现如下错误,需要修改csproj项目文件中的如下一行,需要改变版本,例如把v10.0改为v9.0或者v8.0( 测试成功! )   

<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />  

 

 

 

https://www.cnblogs.com/Minghao_HU/archive/2012/06/14/2549659.html

https://www.codeproject.com/Articles/162255/Resolve-MSB-The-Retries-parameter-is-not-suppo

posted @ 2019-04-23 13:54  kelelipeng  阅读(358)  评论(0编辑  收藏  举报