0

I need Silverlight in order to use IronRuby, as Silverlight provides the DRL. However, I can't find a template for creating Silverlight Windows Phone applications in Visual Studio 2012 for Windows Phone.

Can someone point me to such a template? Because all the tutorials for IronRuby on Windows Phone say to use Silverlight.

mcandre
  • 22,868
  • 20
  • 88
  • 147
  • Did you properly install the Phone SDK? Which version? Can you see other (XNA) templates? – H H Jan 28 '13 at 14:59
  • I installed Windows Phone SDK 8.0. Yes, I can see the XNA templates, just not the Silverlight templates. – mcandre Jan 28 '13 at 15:57
  • Phone 8 and Phone 7 are very different beasts. Which one do you actually need? – H H Jan 28 '13 at 15:59

1 Answers1

2

I just took a quick look in VS2012/Exp, all the C# Phone templates there are for SilverLight. They just don't say so (explicitly) any more. When you see a MainPage.xaml you're doing SL.

But do note that Project|Properties|Build also has a combobox for the target platform. If WP7 isn't in the list you'll have to install another/extra SDK.

H H
  • 263,252
  • 30
  • 330
  • 514
  • Thanks! I ask, because I want to write an IronRuby app for Windows Phone, and all the tutorials say to start by creating a new project using the Silverlight template. Could you reference an IronRuby project for WP7 that builds in VS 2012 for Windows Phone? – mcandre Jan 28 '13 at 19:52
  • No, I have never used IronRuby. Google on. – H H Jan 28 '13 at 19:53
  • If Google were any help, I wouldn't have asked here. – mcandre Jan 30 '13 at 17:14