.net - MSBUILD : 错误 MSB1008: 只能指定一个项目。开关:554/185513.log;verbosity=diagnostic\
问题描述
你好我得到一个构建错误我尝试了很多,我试过这个
还有但没有用你能帮我吗这是我的bat文件代码
set rootPath=C:\Users\rmrud\source\Workspaces\Workspace2
set basePath3=%rootPath%\HAL9
set filename=%rootPath%\buildLog\%yyyy%%mm%%dd%%hh%%mm%%ss%.log
set csproj=%basePath3%\v3_07\指示せん印刷\指示せん印刷\指示せん印刷.csproj
set msbuild_new=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe\
mkdir %rootPath%\buildLog
C:
cd C:\
cd %basePath3%
tf get
if errorlevel 1 goto ON_EXIT
dotnet build
%csproj%/t:%buildCmd%/p:Configuration=\\Release\fl\flp:logfile=%filename%;verbosity=diagnostic\
if errorlevel 1 goto ON_EXIT
如您所见,我在换行符中添加 \ this 仍然存在此问题和错误。
适用于 .NET 的 Microsoft (R) Build Engine 版本 16.8.3+39993bd9d 版权所有 (C) Microsoft Corporation。版权所有。
MSBUILD : 错误 MSB1008: 只能指定一个项目。开关:554/185513.log;verbosity=diagnostic\
我仍然有这个错误。我怎样才能摆脱这个?提前致谢
解决方案
推荐阅读
- python - 当我试图找出有缺陷和无缺陷的太阳能电池时,训练结果很差
- python-3.x - 为什么 hit() 方法会附加所有的手
- php - PHP 错误:HeredocStart 预期,语法错误意外文件结尾
- node.js - 如何通过getUserByPhoneNumber使用google-cloud firestore auth获取用户记录?
- python-3.x - 如何在 Pandas 中迭代分组对象
- java - AWS 上的 S3 文件上传问题 - Spring Boot
- angular - 在希伯来语中以 8 角创建 PDF
- go - 代理网关发回 HTTP 响应
- ruby-on-rails - ||= 在控制器 before_action 中实际做了什么?
- karate - 空手道 0.9.5:无法在并行执行中获取命令行选项