0
如何配置生成任务以在.net 4.5运行时下启动mono?最好基于我的解决方案文件中的设置,而不是直接传递设置。使用当前配置xbuild使用.net 4.0运行时启动。如何使用Albacore 2启动.NET Framework 4.5的xbuild(mono)?
task :build => [:compile_this]
build :compile_this do |b|
b.file = 'MyProj.sln'
b.target = ['Clean','Rebuild']
b.prop :configuration ,'Debug'
end
test_runner :test => [:build] do |cmd|
cmd.command = '~/bin/xunit/xunit.console.exe'
cmd.files = ['Tests/bin/Tests.dll']
cmd.add_parameter = '/html results.html'
end
我在Ubuntu 13.10下运行单声道3.2.7 64位。