首页 > 解决方案 > Azure Devops 构建问题缺少文件夹

问题描述

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\Web\Microsoft.Web.Publishing.targets(2603,5):错误:复制文件 app\bower_components\ bootstrap-switch\node_modules\jquery\AUTHORS.txt 到 obj\Release\Package\PackageTmp\app\bower_components\bootstrap-switch\node_modules\jquery\AUTHORS.txt 失败。找不到路径“app\bower_components\bootstrap-switch\node_modules\jquery\AUTHORS.txt”的一部分。

进程“msbuild.exe”以代码“1”退出。

标签: visual-studioazure-devops

解决方案


如下更改您的AUTHORS.txt属性。右键单击Authors.txt文件转到properties然后更改

Build Action到_None
Copy to Output DirectoryCopy always

在此处输入图像描述


推荐阅读