Actually I got it to work by manually firing the csc.exe compiler to compile
the Calculator.cs into an assembly. It works fine now!

On Tue, Sep 22, 2009 at 2:22 PM, Kevin Radcliffe
<kevin.radcli...@gmail.com>wrote:

> Looks like the compile isn't even working. This is a bit strange...Could
> you try getting cucumber from the git repo and try to compile from the
> examples dir there first?
> http://github.com/aslakhellesoy/cucumber
>
> <http://github.com/aslakhellesoy/cucumber>Best Regards,
> Kevin Radcliffe
>
> On Tue, Sep 22, 2009 at 1:08 PM, Mohammad Azam <azamsh...@gmail.com>wrote:
>
>> 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
>>
>>
>
> _______________________________________________
> 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

Reply via email to