Derek Knight
2007-Oct-15 04:01 UTC
[Ironruby-core] A couple of issues building in Visual Studio
I posted this in the open-discussion forum. Maybe that''s not used much these days. I''ve found a few problems building IronRuby on Windows (using the IronRuby.sln file). It''s possible my set-up might be bad, although all I did was download the SVN files and build them. A number of the projects have bad references (these look to be caused by the projects not being in the location the csproj files expect). I found that I had to change the following CSPROJ files (Ruby, IronRuby.Libraries, ClassInitGenerator, Ruby.Console, RubyTestHost). Also, I was doing a Release build and that does not compile. The Microsoft.Scripting library has #if DEBUG round definitions of 2 Utils.ReflectionUtils functions (FormatTypeName and FormatTypeArgs), which are referred to in Program.cs of ClassInitGenerator. I''m guessing others don''t build from the Visual Studio solution (or I''ve set my environment up stupidly). Derek -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071015/0ed18ffa/attachment.html
Eric Nicholson
2007-Oct-15 13:22 UTC
[Ironruby-core] A couple of issues building in Visual Studio
I am able to build the source with VS.NET 2005. I don''t remember if there were any tricks that I had to do to make it work... Have you tried building with rake? -Eric On 10/15/07, Derek Knight <Derek at gordonknight.co.uk> wrote:> > I posted this in the open-discussion forum. Maybe that''s not used much > these days. > > I''ve found a few problems building IronRuby on Windows (using the > IronRuby.sln file). It''s possible my set-up might be bad, although all I > did was download the SVN files and build them. > > A number of the projects have bad references (these look to be caused by > the projects not being in the location the csproj files expect). > I found that I had to change the following CSPROJ files (Ruby, > IronRuby.Libraries, ClassInitGenerator, Ruby.Console, RubyTestHost). > > Also, I was doing a Release build and that does not compile. The > Microsoft.Scripting library has #if DEBUG round definitions of 2 > Utils.ReflectionUtils functions (FormatTypeName and FormatTypeArgs), which > are referred to in Program.cs of ClassInitGenerator. > > I''m guessing others don''t build from the Visual Studio solution (or I''ve > set my environment up stupidly). > > Derek > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071015/5dbc1e51/attachment-0001.html
Cory Foy
2007-Oct-15 13:49 UTC
[Ironruby-core] A couple of issues building in Visual Studio
Same here. I didn''t try the rake build - I just open the solution in VS2005 and build away - both debug and release mode. Derek - are you sure it''s the 2005 version? I saw the references problem last time I opened the 2008 solution, but didn''t have a chance to see what was going on. Cory From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Eric Nicholson Sent: Monday, October 15, 2007 9:23 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] A couple of issues building in Visual Studio I am able to build the source with VS.NET<http://VS.NET> 2005. I don''t remember if there were any tricks that I had to do to make it work... Have you tried building with rake? -Eric On 10/15/07, Derek Knight <Derek at gordonknight.co.uk<mailto:Derek at gordonknight.co.uk>> wrote: I posted this in the open-discussion forum. Maybe that''s not used much these days. I''ve found a few problems building IronRuby on Windows (using the IronRuby.sln file). It''s possible my set-up might be bad, although all I did was download the SVN files and build them. A number of the projects have bad references (these look to be caused by the projects not being in the location the csproj files expect). I found that I had to change the following CSPROJ files (Ruby, IronRuby.Libraries, ClassInitGenerator, Ruby.Console, RubyTestHost). Also, I was doing a Release build and that does not compile. The Microsoft.Scripting library has #if DEBUG round definitions of 2 Utils.ReflectionUtils functions (FormatTypeName and FormatTypeArgs), which are referred to in Program.cs of ClassInitGenerator. I''m guessing others don''t build from the Visual Studio solution (or I''ve set my environment up stupidly). Derek _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071015/bb119a6a/attachment.html