~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to samples/Mono/Mono.AddIn/Templates/CSharp.Console.Project.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
        
 
4
        <!-- Template Header -->
 
5
        <TemplateConfiguration>
 
6
                <Name>Console Application</Name>
 
7
                <Category>C#</Category>
 
8
                <Subcategory>Mono</Subcategory>
 
9
                <Icon>C#.Project.DOSProject</Icon>
 
10
                <Description>Console project for Mono.</Description>
 
11
        </TemplateConfiguration>
 
12
        
 
13
        <!-- Actions -->
 
14
        <Actions>
 
15
                <Open filename = "Program.cs"/>
 
16
        </Actions>
 
17
        
 
18
        <!-- Template Content -->
 
19
        <Project language = "C#">
 
20
                <PropertyGroup>
 
21
                        <OutputType>Exe</OutputType>
 
22
                        <MonoTargetFrameworkVersion>v2.0</MonoTargetFrameworkVersion>
 
23
                </PropertyGroup>
 
24
                <ProjectItems>
 
25
                        <Reference Include="System" />
 
26
                        <Reference Include="System.Data" />
 
27
                        <Reference Include="System.Xml" />
 
28
                </ProjectItems>
 
29
                <Imports clear="True">
 
30
                        <Import Project="$(MonoBuildTasksPath)\Mono.Build.CSharp.targets" />
 
31
                </Imports>
 
32
                <Files>
 
33
                        <File name="Program.cs"><![CDATA[${StandardHeader.C#}
 
34
 
 
35
using System;
 
36
 
 
37
namespace ${StandardNamespace}
 
38
{
 
39
        class Program
 
40
        {
 
41
                public static void Main(string[] args)
 
42
                {
 
43
                        Console.WriteLine("Hello World!");
 
44
                        
 
45
                        // TODO: Implement Functionality Here
 
46
                }
 
47
        }
 
48
}]]></File>
 
49
                        <File name="AssemblyInfo.cs" src="DefaultAssemblyInfo.cs"/>
 
50
                </Files>
 
51
        </Project>
 
52
</Template>