gpt4 book ai didi

.net - 未找到目标 ResolveReferences

转载 作者:行者123 更新时间:2023-12-01 13:08:23 25 4
gpt4 key购买 nike

我正在尝试通过 NAnt/MSBuild 调用发布一个 ASP.Net 网站。使用以下参数调用 MSBuild:

<arg value="SubsManager.sln" />
<arg value="/t:ResolveReferences" />
<arg value="/t:_CopyWebApplication" />
<arg value="/p:Configuration=Release" />
<arg value="/p:OutDir=..\builda\Release\Web\bin\" />
<arg value="/p:WebProjectOutputDir=..\Publish\" />
<arg value="/logger:C:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll" />
<arg value="/verbosity:detailed" />

当我在巡航控制下尝试构建时,出现以下错误:

error MSB4057: The target "ResolveReferences" does not exist in the project.

最佳答案

MSBuild 部署任务需要一个项目(而不是解决方案)来运行.........

关于.net - 未找到目标 ResolveReferences,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1112208/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com