<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I had Pete try that, and it didn&#8217;t work, but he might be
hitting a different issue. So yes, Skip verification (via sn -Vr) should work
as well. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>JD<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
ironruby-core-bounces@rubyforge.org
[mailto:ironruby-core-bounces@rubyforge.org] <b>On Behalf Of </b>Michael
Letterle<br>
<b>Sent:</b> Monday, December 08, 2008 4:05 PM<br>
<b>To:</b> ironruby-core@rubyforge.org<br>
<b>Subject:</b> Re: [Ironruby-core] Trouble building from Visual Studio (git
repo)<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Presumably turning off strong
name validation for the public key token would work as well... no?<o:p></o:p></p>

<div>

<p class=MsoNormal>On Mon, Dec 8, 2008 at 7:02 PM, Jimmy Schementi &lt;<a
href="mailto:Jimmy.Schementi@microsoft.com">Jimmy.Schementi@microsoft.com</a>&gt;
wrote:<o:p></o:p></p>

<p class=MsoNormal>Terence,<br>
<br>
Sorry for the issues you're having, crazy build breaks and signing are never
fun. Microsoft requires us to sign any binaries we produce, so providing access
to our repository is a pain because we can't distribute the private key used in
signing. Jim is going to fix this so builds by default build do not sign.<br>
<br>
In the meantime, you'll need to remove the signing flags from all the .csproj
files (Ruby.csproj, IronRuby.Libraries.csproj, and
IronRuby.Libraries.Yaml.csproj). Open the .csproj files in a text-editor, and
remove the following lines anywhere you find them (they might be in a file more
than once):<br>
<br>
&nbsp; &nbsp;&lt;DelaySign&gt;true&lt;/DelaySign&gt;<br>
&nbsp;
&nbsp;&lt;AssemblyOriginatorKeyFile&gt;..\..\..\MSSharedLibKey.snk&lt;/AssemblyOriginatorKeyFile&gt;<br>
&nbsp; &nbsp;&lt;SignAssembly&gt;true&lt;/SignAssembly&gt;<br>
<br>
Rebuilding should not care about signing at all now. Let me know if you run
into any other problems.<br>
<br>
~Jimmy<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><br>
<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:ironruby-core-bounces@rubyforge.org">ironruby-core-bounces@rubyforge.org</a>
[mailto:<a href="mailto:ironruby-core-">ironruby-core-</a><br>
&gt; <a href="mailto:bounces@rubyforge.org">bounces@rubyforge.org</a>] On
Behalf Of Terence Lewis<br>
&gt; Sent: Monday, December 08, 2008 3:01 PM<br>
&gt; To: <a href="mailto:ironruby-core@rubyforge.org">ironruby-core@rubyforge.org</a><br>
&gt; Subject: [Ironruby-core] Trouble building from Visual Studio (git<br>
&gt; repo)<br>
&gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; First let me apologise for the length of this mail - it's not quite as<br>
&gt; long as it looks, a lot of the text is error messages :(<br>
&gt;<br>
&gt; Anyway, I can now build from rake compile, however I'm having trouble<br>
&gt; building from Visual Studio 2008 SP1.<br>
&gt;<br>
&gt; The first thing that it complains about is something to do with<br>
&gt; SpecSharp.targets. I managed to work-around this by copying this file<br>
&gt; from \merlin\main\Languages\Ruby to \merlin\main.<br>
&gt; After doing this, I got an error about Microsoft.Scripting.dll meta-<br>
&gt; data file not being found (with FxCop in the path), but changing the<br>
&gt; build config file to FxCop and then back to Debug seemed to make this<br>
&gt; problem go away.<br>
&gt; Next, I got a complaint about MSSharedLibKey.snk - I worked around<br>
&gt; this by creating a key myself (sn -k MSSharedLibKey.snk) in the folder<br>
&gt; it was looking for.<br>
&gt; Then when compiling, I get build 3 errors in<br>
&gt; ReflectionCacheGenerator.cs (ClassInitGenerator). These are as follows:<br>
&gt;<br>
&gt; Error &nbsp; &nbsp;1 &nbsp; &nbsp;'IronRuby.Compiler.Methods' is
inaccessible due to its<br>
&gt; protection level<br>
&gt; \merlin\main\Languages\Ruby\ClassInitGenerator\ReflectionCacheGenerato<br>
&gt; r<br>
&gt; .<br>
&gt; cs &nbsp; &nbsp;line 29<br>
&gt; Error &nbsp; &nbsp;2 &nbsp; &nbsp;'IronRuby.Runtime.Calls.BlockDispatcher'
does not contain<br>
&gt; a definition for 'MaxBlockArity'<br>
&gt; \merlin\main\Languages\Ruby\ClassInitGenerator\ReflectionCacheGenerato<br>
&gt; r<br>
&gt; .<br>
&gt; cs &nbsp; &nbsp;line 102<br>
&gt; Error &nbsp; &nbsp;3 &nbsp; &nbsp;'IronRuby.Runtime.Calls.BlockDispatcher'
does not contain<br>
&gt; a definition for 'MaxBlockArity'<br>
&gt; \merlin\main\Languages\Ruby\ClassInitGenerator\ReflectionCacheGenerato<br>
&gt; r<br>
&gt; .<br>
&gt; cs &nbsp; &nbsp;line 103<br>
&gt;<br>
&gt; I also get two build errors in IronRuby.Tests:<br>
&gt;<br>
&gt; Error &nbsp; &nbsp;5 &nbsp; &nbsp;'IronRuby.Compiler.IParserLogger' is
inaccessible due to<br>
&gt; its protection level<br>
&gt; \merlin\main\Languages\Ruby\IronRuby.Tests\Parser\DefaultParserLogger.<br>
&gt; c<br>
&gt; s<br>
&gt; line 24<br>
&gt; Error &nbsp; &nbsp;6 &nbsp; &nbsp;'IronRuby.Compiler.IParserLogger' is
inaccessible due to<br>
&gt; its protection level<br>
&gt; \merlin\main\Languages\Ruby\IronRuby.Tests\Parser\CoverageParserLogger.<br>
&gt; c<o:p></o:p></p>

</div>

</div>

<p class=MsoNormal>&gt; s &nbsp; &nbsp;line 33<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>&gt;<br>
&gt;<br>
&gt; Commenting out errors 2 and 3, and making IronRuby.Compiler.Methods<br>
&gt; and IronRuby.Compiler.IParserLogger public allows everything to build<br>
&gt; except IronRuby.Tests which then fails with 47 compile errors.<br>
&gt;<br>
&gt; Trying to run Ruby.Console with the code in this condition leads to a<br>
&gt; MessageBox with the following:<br>
&gt; &nbsp; &nbsp; Error while trying to run project: Could not load file or
assembly<br>
&gt; 'ir, Version=<a href="http://1.0.0.0" target="_blank">1.0.0.0</a>, Culture=neutral,
PublicKeyToken=67ede3a51bb28398'<br>
&gt; or one of its dependencies. Strong name validation failed. (Exception<br>
&gt; from HRESULT: 0x8013141A).<br>
&gt;<br>
&gt; Presumably this is because I can't just generate a strong-name key<br>
&gt; myself? I then ran sn -Vr using my public key token, and changed two<br>
&gt; places in Ruby.Console's app.config file - Microsoft.Scripting and<br>
&gt; IronRuby to use my public key token. At this point, running the<br>
&gt; console doesn't bring up a message box, but the application does<br>
&gt; terminate immediately with the following appearing in the output window:<br>
&gt;<br>
&gt; WEAK_TABLE: IronRuby.Runtime.WeakTable`2[[System.Object, mscorlib,<br>
&gt; Version=<a href="http://2.0.0.0" target="_blank">2.0.0.0</a>,
Culture=neutral,<br>
&gt; PublicKeyToken=b77a5c561934e089],[IronRuby.Runtime.RubyInstanceData,<br>
&gt; IronRuby, Version=<a href="http://1.0.0.0" target="_blank">1.0.0.0</a>,
Culture=neutral,<br>
&gt; PublicKeyToken=67ede3a51bb28398]] A first chance exception of type<br>
&gt; 'System.IO.FileLoadException' occurred in mscorlib.dll A first chance<br>
&gt; exception of type 'IronRuby.Builtins.LoadError' occurred in<br>
&gt; IronRuby.dll A first chance exception of type<br>
&gt; 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll<br>
&gt; A first chance exception of type<br>
&gt; 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll<br>
&gt; A first chance exception of type<br>
&gt; 'Microsoft.Scripting.InvalidImplementationException' occurred in<br>
&gt; Microsoft.Scripting.dll<br>
&gt;<br>
&gt; So, when this failed, I tried to copy the only .snk file I could find<br>
&gt; from the subversion repository<br>
&gt; (trunk\src\microsoft.scripting.core\debugkey.snk) over my manually<br>
&gt; generated key, but this didn't yield the correct public key token<br>
&gt; either (it gives 51c7b9aefdaeb546).<br>
&gt;<br>
&gt; So, now I'm totally stuck. Any help or suggestions will be appreciated.<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt;<br>
&gt; Terence<br>
&gt;<br>
&gt;<br>
&gt; PS, I'm trying to get the build to work out of visual studio so that I<br>
&gt; can step through some of the code in the debugger.<o:p></o:p></p>

</div>

</div>

<p class=MsoNormal>_______________________________________________<br>
Ironruby-core mailing list<br>
<a href="mailto:Ironruby-core@rubyforge.org">Ironruby-core@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/ironruby-core" target="_blank">http://rubyforge.org/mailman/listinfo/ironruby-core</a><o:p></o:p></p>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br clear=all>
<br>
-- <br>
Michael Letterle<br>
[Polymath Prokrammer]<br>
<a href="http://blog.prokrams.com">http://blog.prokrams.com</a><br>
<br>
<o:p></o:p></p>

</div>

</body>

</html>