Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ILAsmConsoleProject.xpt.xml « ILAsmBinding « addins « src « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a0dbb85e076bdac809f2146647aa650a0d4a830e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0"?>
<Template originator   = "John Luke"
          created      = "04/25/2004"
          lastModified = "04/25/2004">
	
	<!-- Template Header -->
	<TemplateConfiguration>
		<_Name>Console Project</_Name>
		<Category>other/net/general</Category>
		<Icon>md-console-project</Icon>
		<Image id="md-console-project" />
		<LanguageName>IL</LanguageName>
		<_Description>Creates an IL Console Project.</_Description>
		<DefaultFilename>ILConsoleProject</DefaultFilename>
		<GroupId>md-project-console</GroupId>
	</TemplateConfiguration>
	
	<!-- Actions -->
	<Actions>
		<Open filename = "main.il"/>
	</Actions>
	
	<!-- Template Content -->
	<Combine name = "${ProjectName}" directory = ".">
		<Options>
			<StartupProject>${ProjectName}</StartupProject>
		</Options>
		
		<Project name = "${ProjectName}" directory = ".">
			<Options/>
			<Files>
				<File name="main.il"><![CDATA[.assembly HelloWorld
{
}

.assembly extern mscorlib { }

.namespace DefaultNamespace
{
	.class private auto ansi beforefieldinit MainClass
	{
		.method public hidebysig static void Main(string[] args) cil managed
		{
			.entrypoint
			.maxstack  1
			ldstr "Hello World!"
			call void [mscorlib]System.Console::WriteLine(string)
			ret
		}
	}
}]]></File>
			</Files>
		</Project>
	</Combine>
</Template>