【发布时间】:2015-12-16 18:55:37
【问题描述】:
我在为 nUnit 运行设置 TeamCity 时遇到问题,并且添加了以下行以用于编辑程序集文件。
"%system.NUNIT_EXE%"
"%env.ROOT_FOLDER%\FunctionalTests\bin\Debug\Test.dll" /nologo
/framework=4.0.30319 /labels /xml=c:\simulator\TestBox.xml
/fixture:Instron.Tests.Test_FunctionalTests
我在运行 TeamCity 时收到错误消息。
无法解析 TeamCity 隐式参数。中的非法字符 路径。
System.ArgumentException:路径中有非法字符。
在 System.IO.Path.CheckInvalidPathChars(字符串路径)
在 System.IO.Path.IsPathRooted(字符串路径)
在 JetBrains.TeamCity.Utils.FsScanner.RealFileSystem.IsPathAbsolute(String 路径)
在 JetBrains.TeamCity.Utils.FsScanner.DirectoryScanner.ParsePattern(IFileSystem fs, Wildcard[] rootPrefix, Boolean caseSensitive, String pattern)
【问题讨论】:
-
您需要提供更多背景信息,然后才能获得合理的答案。例如,TeamCity 是什么?
-
嗨 Neil,我已经为 team_city_config 页面添加了图片链接。
-
@Gobi 你确定
system.NUNIT_EXE和env.ROOT_FOLDER被定义了吗? -
嗨,Sergii,我如何确定它们是否已被定义
标签: configuration nunit teamcity