我想试一试MassTransit,但我在第一个障碍上摔倒了。
首先,下载链接看起来确实去了正确的地方。所以我决定我只需要得到源并构建它。然而,我依赖于Ruby和一些宝石(对于以前从未使用过Ruby的c#开发人员来说有点烦人),我安装了Ruby并尝试运行build.bat,现在我得到了.
Building for .NET 3.5
rake aborted!
cannot load such file -- zip/zip
C:/dev/MassTransit/rakefile.rb:7:in `<top (required)>'
(See full trace by running task with --trace)所以我用.
Building for .NET 3.5
rake aborted!
cannot load such file -- zip/zip
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/albacore-0.3.5/lib/albacore/unzip.rb:2:in `<top (required)>'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/albacore-0.3.5/lib/albacore.rb:9:in `block in <top (required)>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/albacore-0.3.5/lib/albacore.rb:9:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/albacore-0.3.5/lib/albacore.rb:9:in `<top (required)>'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
C:/dev/MassTransit/rakefile.rb:7:in `<top (required)>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/rake_module.rb:25:in `load'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/rake_module.rb:25:in `load_rakefile'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:637:in `raw_load_rakefile'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:94:in `block in load_rakefile'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:165:in `standard_exception_handling'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:93:in `load_rakefile'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:77:in `block in run'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:165:in `standard_exception_handling'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:75:in `run'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/bin/rake:33:in `<top (required)>'
C:/Ruby193/bin/rake:23:in `load'
C:/Ruby193/bin/rake:23:in `<main>'不幸的是,我不是wiser...Any的想法?
发布于 2014-02-10 11:59:25
只需使用NuGet。二进制文件已经在那里了,您一定会得到正确的东西。您还需要一个传输包,如MassTransit.RabbitMQ或MassTransit.MSMQ。
在自述中有关于建造的说明。如果你真的想从源头开始构建。如果它们由于某种原因而不能工作,那么更多地进入邮件列表,我们可以更新自述文件。
最后,如果您想要一个非NuGet构建,TeamCity为您构建MassTransit,http://TeamCity.codebetter.com。与来宾一起登录,找到MassTransit项目,您就可以下载工件。
https://stackoverflow.com/questions/21666993
复制相似问题