[Ironruby-core] Experiences building IronRuby from source

Curt Hagenlocher curth at microsoft.com
Fri Sep 5 12:01:35 EDT 2008


This is for building Silverlight.  Silverlight builds against a different version of the CLR.  You should ignore these warnings.

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of KE
Sent: Friday, September 05, 2008 9:00 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Experiences building IronRuby from source

>From a clean checkout:

Warning 1       The referenced component 'mscorlib' could not be found.
Warning 2       The referenced component 'System' could not be found.
Warning 3       The referenced component 'mscorlib' could not be found.
Warning 4       The referenced component 'System' could not be found.
Warning 5       The referenced component 'mscorlib' could not be found.
Warning 6       The referenced component 'System.Net' could not be found.
Warning 7       The referenced component 'System' could not be found.
Warning 8       The referenced component 'mscorlib' could not be found.
Warning 9       The referenced component 'System' could not be found.
Warning 10      The referenced component 'System.Net' could not be found.

Visual Studio doesn't report which project the warning is for, but double
clicking on each warning goes to the problematic reference.

For example, in src/ironruby/Ruby.csproj:

    <Reference Include="mscorlib, Version=2.0.5.0, Culture=neutral,
PublicKeyToken=7cec85d7bea7798e" Condition=" '$(SilverlightBuild)' == 'true'
">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>$(SilverlightSdkPath)\mscorlib.dll</HintPath>
    </Reference>
    <Reference Include="System.Net, Version=2.0.5.0, Culture=neutral,
PublicKeyToken=7cec85d7bea7798e" Condition=" '$(SilverlightBuild)' == 'true'
">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>$(SilverlightSdkPath)\System.Net.dll</HintPath>
    </Reference>
    <Reference Include="System, Version=2.0.5.0, Culture=neutral,
PublicKeyToken=7cec85d7bea7798e" Condition=" '$(SilverlightBuild)' == 'true'
">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>$(SilverlightSdkPath)\System.dll</HintPath>
    </Reference>

I don't have the Silverlight SDK installed, is this required? IronPython has
Silverlight support, but doesn't have these types of references in its
.csproj files.

Thanks,

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org
[mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of John Lam
(IRONRUBY)
Sent: Friday, September 05, 2008 11:23 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Experiences building IronRuby from source

Hello Sticky:

> 1. What is /svn/trunk/runfirst.cmd? Do I really need stuff put into
> %USERPROFILE%? I will ultimately be running under ASP.NET.

Yes, if you want to run the RubySpec test suite.

> 2. There are many warnings in the various projects about weird
> references to mscorlib (which is automatically referenced) and "System"
> without a version. Can I propose a patch with updates to the vcproj
> files?

Can you provide details? I don't see them here.

> 3. The Ruby.Console and IronRuby.Tests projects both have a project
> file reference to "..\..\App.config" -- is this required? This is a
> build error. There's no App.config file in /svn/trunk/

I omitted this file by mistake (it's a strange special case in our mirroring
script), but it's fixed in r140 which I just committed.

Thanks,
-John

_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list