I got it to work by manually running csc.exe. It solved the problem. On Tue, Sep 22, 2009 at 12:21 PM, Shri Borde <shri.bo...@microsoft.com>wrote:
> csc.exe is failing. Doing a web search, > http://support.liquid-technologies.com/KB/a42/application-fails-to-run.aspxmentions > that your .NET installation may be corrupt. You need to figure out > how to get the csc command to work on your machine. The failure is not > related to IronRuby. Subsequent commands in the Cucumber example will fail > only because Calculator.dll was not compiled successfully. > > > > *From:* ironruby-core-boun...@rubyforge.org [mailto: > ironruby-core-boun...@rubyforge.org] *On Behalf Of *Mohammad Azam > *Sent:* Tuesday, September 22, 2009 12:08 PM > *To:* ironruby-core@rubyforge.org > *Subject:* [Ironruby-core] Error Executing C# Example Using IronRuby and > Cucumber > > > > Here is the message: > > > > This is the default example which is hosted on > http://wiki.github.com/aslakhellesoy/cucumber/ironruby-and-net > > > > C:\ruby\lib\ruby\gems\1.8\gems\cucumber-0.3.101\examples\cs>compile.bat > > > > C:\ruby\lib\ruby\gems\1.8\gems\cucumber-0.3.101\examples\cs>csc > /target:library > > /out:Calculator.dll src\demo\Calculator.cs > > fatal error CS2018: Unable to find messages file 'cscompui.dll' > > > > C:\ruby\lib\ruby\gems\1.8\gems\cucumber-0.3.101\examples\cs>compile.bat > > > > C:\ruby\lib\ruby\gems\1.8\gems\cucumber-0.3.101\examples\cs>csc > /target:library > > /out:Calculator.dll src\demo\Calculator.cs > > fatal error CS2018: Unable to find messages file 'cscompui.dll' > > > > C:\ruby\lib\ruby\gems\1.8\gems\cucumber-0.3.101\examples\cs>icucumber > features > > no such file to load -- Calculator > > Failed to load features/step_definitons/calculator_steps.rb (LoadError) > > > C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTE > > D\Builtins\KernelOps.cs:1341:in `require' > > custom_require.rb:30:in `require' > > polyglot.rb:69:in `require' > > ./features/step_definitons/calculator_steps.rb:3 > > > C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTE > > D\Builtins\KernelOps.cs:1341:in `require' > > > c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/rb_support/r > > b_language.rb:101:in `load_code_file' > > custom_require.rb:30:in `require' > > > c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/rb_support/r > > b_language.rb:46:in `step_definitions_for' > > polyglot.rb:69:in `require' > > > c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/step_mother. > > rb:118:in `load_code_file' > > > c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/step_mother. > > rb:110:in `load_code_files' > > > c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/step_mother. > > rb:109:in `load_code_files' > > > c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/cli/main.rb: > > 48:in `execute!' > > > c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/cli/main.rb: > > 23:in `execute' > > > C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTE > > D\Extensions\IListOps.cs:810:in `each' > > c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/cucumber:9 > > c:/ruby/bin/cucumber:19 > > > C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTE > > D\Builtins\KernelOps.cs:1326:in `load' > > > > C:\ruby\lib\ruby\gems\1.8\gems\cucumber-0.3.101\examples\cs> > > > > Thanks, > > Azam > > > -- > Mohammad Azam > MVP (Microsoft Valuable Professional) > www.highoncoding.com > www.azamsharp.com > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > -- Mohammad Azam MVP (Microsoft Valuable Professional) www.highoncoding.com www.azamsharp.com
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core