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

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

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: [email protected]
[mailto:[email protected]] On Behalf Of Eric N.
Sent: Monday, October 15, 2007 9:23 AM
To: [email protected]
Subject: Re: [Ironruby-core] A couple of issues building in Visual
Studio

I am able to build the source with VS.NEThttp://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
<[email protected]mailto:[email protected]> 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs