~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to samples/ILAsmBinding/Project/Templates/ConsoleProject.xpt

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<Template originator   = "Mike Krueger"
 
3
          created      = "06/10/2001"
 
4
          lastModified = "02/01/2003">
 
5
        
 
6
        <!-- Template Header -->
 
7
        <TemplateConfiguration>
 
8
                <Name>${res:Templates.Project.ConsoleProject.Name}</Name>
 
9
                <Category>ILAsm</Category>
 
10
                <Icon>C#.Project.DOSProject</Icon>
 
11
                <Description>${res:Templates.Project.ConsoleProject.Description}</Description>
 
12
        </TemplateConfiguration>
 
13
        
 
14
        <!-- Actions -->
 
15
        <Actions>
 
16
                <Open filename = "MainClass.il"/>
 
17
        </Actions>
 
18
        
 
19
        <!-- Template Content -->
 
20
        <Project language = "ILAsm">
 
21
                <Files>
 
22
                        <File name="MainClass.il"><![CDATA[.assembly HelloWorld
 
23
{
 
24
}
 
25
 
 
26
.namespace ${StandardNamespace}
 
27
{
 
28
        .class private auto ansi beforefieldinit MainClass
 
29
        {
 
30
                .method public hidebysig static void Main(string[] args) cil managed
 
31
                {
 
32
                        .entrypoint
 
33
                        .maxstack  1
 
34
                        ldstr      "Hello World!"
 
35
                        call       void [mscorlib]System.Console::WriteLine(string)
 
36
                        ret
 
37
                }
 
38
        }
 
39
}]]></File>
 
40
                </Files>
 
41
        </Project>
 
42
</Template>