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位。