# Script for building the silverlight support

**URL:** <https://www.ruby-forum.com/t/script-for-building-the-silverlight-support/170603>\
**Category:** IronRuby\
**Created:** [June 19, 2009, 4:15pm UTC](https://www.ruby-forum.com/t/script-for-building-the-silverlight-support/170603 "2009-06-19T16:15:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![barby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@barby](https://www.ruby-forum.com/u/barby)\
**Post date:** [June 19, 2009, 4:15pm UTC](https://www.ruby-forum.com/t/script-for-building-the-silverlight-support/170603/1 "2009-06-19T16:15:57Z")

</div>

## Hi Is there a script somewhere to build Chiron and friends to get silverlight support? Or do I go through visual studio and fiddle around with the references until they are right?

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
Blog: [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))

---

<div class="post-metadata">

**Author:** ![barby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@barby](https://www.ruby-forum.com/u/barby)\
**Post date:** [June 19, 2009, 7:57pm UTC](https://www.ruby-forum.com/t/script-for-building-the-silverlight-support/170603/2 "2009-06-19T19:57:08Z")

</div>

The easiest way is to copy the DLLs from c:\program files\microsoft  
silverlight\2.0.40115 to merlin\utilities\silverlight\x86ret. Then  
building the “Silverlight debug/release configurations” from VS or  
msbuild will work. I believe there are also cmdline shortcuts like bsrbd  
and bsrbr to do the builds.

Let me know if you have any issues. I’ll put this on the dev wiki  
shortly.

~Jimmy  
Sent from my phone

On Jun 19, 2009, at 7:15 AM, “Ivan Porto C.”  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:

Hi

## Is there a script somewhere to build Chiron and friends to get silverlight support? Or do I go through visual studio and fiddle around with the references until they are right?

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
Blog: [http://flanders.co.nz](http://flanders.co.nz) [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim) [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action  
([http://manning.com/carrero](http://manning.com/carrero)[http://manning.com/carrero](http://manning.com/carrero))

* * *

Ironruby-core mailing list  
removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)

---

<div class="post-metadata">

**Author:** ![barby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@barby](https://www.ruby-forum.com/u/barby)\
**Post date:** [June 19, 2009, 8:17pm UTC](https://www.ruby-forum.com/t/script-for-building-the-silverlight-support/170603/3 "2009-06-19T20:17:16Z")

</div>

## yes I should have thought of that :)Instead I took the long road and went in the the project files to edit the silverlight path variable. Anyway I now have a build against SL3

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
Blog: [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))

On Fri, Jun 19, 2009 at 7:55 PM, Jimmy S. \<

---

<div class="post-metadata">

**Author:** ![barby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@barby](https://www.ruby-forum.com/u/barby)\
**Post date:** [June 19, 2009, 8:48pm UTC](https://www.ruby-forum.com/t/script-for-building-the-silverlight-support/170603/4 "2009-06-19T20:48:39Z")

</div>

You can also provide a MSBuild variable (or environment variable)  
â€œSilverlightPathâ€ which will change the default path if you donâ€™t want  
to copy DLLs:

msbuild Ruby.sln /p:Configuration=â€Silverlight Debugâ€  
/p:SilverlightPath=â€C:\Program Files\Microsoft Silverlight\3.0.xxxxx

Any aliases for building will be in Merlin/Main/Scripts/Bat/Alias.txt,  
and the â€œbsrb/bspyâ€ aliases arenâ€™t there yet. They will be shortly.

~js

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Ivan Porto  
Carrero  
Sent: Friday, June 19, 2009 11:16 AM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] script for building the silverlight support

## yes I should have thought of that 🙂 Instead I took the long road and went in the the project files to edit the silverlight path variable. Anyway I now have a build against SL3

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
Blog: [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))

On Fri, Jun 19, 2009 at 7:55 PM, Jimmy S.  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\>  
wrote:  
The easiest way is to copy the DLLs from c:\program files\microsoft  
silverlight\2.0.40115 to merlin\utilities\silverlight\x86ret. Then  
building the “Silverlight debug/release configurations” from VS or  
msbuild will work. I believe there are also cmdline shortcuts like bsrbd  
and bsrbr to do the builds.  
Let me know if you have any issues. I’ll put this on the dev wiki  
shortly.

~Jimmy  
Sent from my phone

On Jun 19, 2009, at 7:15 AM, “Ivan Porto C.”  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:  
Hi

## Is there a script somewhere to build Chiron and friends to get silverlight support? Or do I go through visual studio and fiddle around with the references until they are right?

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
Blog: [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))

* * *

Ironruby-core mailing list  
removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)

* * *

Ironruby-core mailing list  
removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)
