我使用TeamCity 7.1,我已经配置了我的构建配置并添加了一个VCS构建触发器,用于在签入完成时触发构建.(VCS触发器配置是默认的,我没有更改它)
在我将代码推送到git后,teamcity意识到了这一点(正如你所看到的那样=> http://prntscr.com/17j33d),但没有触发构建.
我想在源上检测到更改时触发构建.
当我使用"with"方法设置属性时,它会在同名的嵌套对象上保留null所有属性.
(我使用autofixture的最新版本为3.0.8)
public class Something {
public string Id { get; set; }
public IList<Something> Things { get; set; }
}
var obj = Fixture.Build<Something>().With(q => q.Id, "something").CreateAnonymous()
Run Code Online (Sandbox Code Playgroud)
在这种情况下,obj.Id =="something"等于true,但obj.Things [0] .Id == null equalsto true.
我认为有一个错误或错误; 有人可以帮忙吗?
我使用Nancy Asp.Net Web应用程序模板,使用Visual Studio 2013创建了非常简单的项目.
在我的开发机器中,它是由Visual Studio 2013成功构建的.
但是当我尝试使用xbuild在Linux Mono环境中构建相同的源时,它就失败了.
这是输出:
root@jannes:/home/hitly/hitly/src/Hitly.Service# xbuild
XBuild Engine Version 12.0
Mono, Version 3.2.8.0
Copyright (C) 2005-2013 Various Mono authors
Build started 3/31/2014 2:11:49 PM.
__________________________________________________
Project "/home/hitly/hitly/src/Hitly.Service/Hitly.Service.csproj" (default target(s)):
Target RestorePackages:
Executing: mono --runtime=v4.0.30319 ../.nuget/NuGet.exe install "" -source "" -RequireConsent -solutionDir "../"
The specified path is not of a legal form (empty). /home/hitly/hitly/src/.nuget/NuGet.targets: error : Command 'mono --runtime=v4.0.30319 ../.nuget/NuGet.exe install "" -source "" -RequireConsent -solutionDir "../"' exited with code: 1.
Task "Exec" execution …Run Code Online (Sandbox Code Playgroud) c# ×2
asp.net-mvc ×1
autofixture ×1
glimpse ×1
mono ×1
nuget ×1
teamcity ×1
teamcity-7.1 ×1
unit-testing ×1
xbuild ×1