2
<Template originator="Matt Ward">
3
<TemplateConfiguration>
4
<Name>${res:Templates.Project.WinFXApplication.Name}</Name>
5
<Category>Ruby</Category>
6
<Icon>Ruby.Template.WinFormsProject</Icon>
7
<Description>${res:Templates.Project.WinFXApplication.Description}</Description>
8
<SupportedTargetFrameworks>v3.0</SupportedTargetFrameworks>
9
</TemplateConfiguration>
13
<Open filename="Window1.xaml"/>
16
<!-- Template Content -->
17
<Project language="Ruby">
19
<OutputType>WinExe</OutputType>
20
<MainFile>Application.rb</MainFile>
21
<DebugInfo>True</DebugInfo>
22
<StartArguments>--disable-gems -D Application.rb</StartArguments>
23
<StartWorkingDirectory>.\</StartWorkingDirectory>
24
<StartAction>Program</StartAction>
25
<StartProgram>${addinpath:ICSharpCode.RubyBinding}\ir.exe</StartProgram>
28
<PropertyGroup configuration="Release" escapeValue="false">
29
<OutputType>WinExe</OutputType>
30
<MainFile>Application.rb</MainFile>
31
<StartArguments>--disable-gems Application.py</StartArguments>
32
<StartWorkingDirectory>.\</StartWorkingDirectory>
33
<StartAction>Program</StartAction>
34
<StartProgram>${addinpath:ICSharpCode.RubyBinding}\ir.exe</StartProgram>
38
<Reference Include="mscorlib"/>
39
<Reference Include="System"/>
40
<Reference Include="System.Data" />
41
<Reference Include="System.Xml" />
42
<Reference Include="PresentationCore">
43
<RequiredTargetFramework>3.0</RequiredTargetFramework>
45
<Reference Include="PresentationFramework">
46
<RequiredTargetFramework>3.0</RequiredTargetFramework>
48
<Reference Include="WindowsBase">
49
<RequiredTargetFramework>3.0</RequiredTargetFramework>
51
<Reference Include="IronRuby">
52
<HintPath>${addinpath:ICSharpCode.RubyBinding}\IronRuby.dll</HintPath>
60
<![CDATA[require "mscorlib"
61
require "PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
63
Window = System::Windows::Window
64
Application = System::Windows::Application
65
FileStream = System::IO::FileStream
66
XamlReader = System::Windows::Markup::XamlReader
67
FileMode = System::IO::FileMode
69
stream = FileStream.new('Window1.xaml', FileMode.Open)
70
window = XamlReader.Load(stream)
71
app = Application.new()
79
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
80
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
81
Title="${StandardNamespace}"