⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 complexexample.xpt.test

📁 SharpDevelop2.0.0 c#开发免费工具
💻 TEST
字号:
<?xml version="1.0"?>
<Template originator   = "Mike Krueger"
          created      = "02/01/2003"
          lastModified = "02/01/2003">
	
	<!-- Template Header -->
	<TemplateConfiguration>
		<Name>Complex EXAMPLE</Name>
		<Category>C#</Category>
		<!-- Optional subcategory -->
		<Subcategory>Windows Applications</Subcategory>
		<Icon>C#.Project.DOSProject</Icon>
		<LanguageName>C#</LanguageName>
		<Description>Example template that tries to use every feature once</Description>
	</TemplateConfiguration>
	
	<!-- Actions -->
	<Actions>
		<Open filename = "Main.cs"/>
	</Actions>
	
	<!-- Template Content -->
	<!-- for compatibility reasons, the root node is allowed to be called either Solution or Combine -->
	<Solution name = "${ProjectName}" directory = ".">
		
		<!-- the startup project can be specified like this: -->
		<Options>
			<StartupProject>${ProjectName}</StartupProject>
		</Options>
		
		<!-- you can nest solution folders inside the Solution node -->
		<SolutionFolder name = "Empty Sub Folder"/>
		
		<SolutionFolder name = "VB.NET Sub Folder">
			<!-- Solution folders can contain: nested solution folders and projects -->
			<SolutionFolder name = "Nested Sub Folder"/>
			
			<Project name = "VBNetProject" directory = "VBNetSubProject" language="VBNet">
				<!-- you can use the Options node to set properties on the SharpDevelop "IProject". -->
				<Options OutputType = "WinExe"/>
				
				<!-- add a PropertyGroup to the project to set MSBuild properties (not all MSBuild properties are exposed by the "IProject") -->
				<PropertyGroup>
					<RemoveIntegerChecks>True</RemoveIntegerChecks>
				</PropertyGroup>
				
				<!-- use PropertyItems to include MSBuild items -->
				<ProjectItems>
					<!-- create GAC references like this: -->
					<Reference Include="System" />
					<Reference Include="System.Data" />
					<Reference Include="System.Drawing" />
					<Reference Include="System.Deployment" />
					<Reference Include="System.Windows.Forms" />
					<Reference Include="System.Xml" />
					
					<!-- Visual Basic Default Imports work like this: -->
					<Import Include="Microsoft.VisualBasic" />
					<Import Include="System" />
					<Import Include="System.Collections" />
					<Import Include="System.Collections.Generic" />
					<Import Include="System.Data" />
					<Import Include="System.Drawing" />
					<Import Include="System.Diagnostics" />
					<Import Include="System.Windows.Forms" />
				</ProjectItems>
				
				<!-- Set the clear attribute to true if you want any imports that are added by default removed. -->
				<Imports clear="True">
					<!-- you can import additional MSBuild targets in the Imports-section of the project node -->
					<Import Project="$(MSBuildBinPath)\Microsoft.WinFX.targets" />
				</Imports>
				
				<Files>
					<!-- Here come the files of the project -->
					<!-- Put the file content in a CDATA section. You can use all StringParser expressions. -->
					<File name="Main.vb">
				<![CDATA[${StandardHeader.VBNET}
Public Partial Class MainForm
	Inherits System.Windows.Forms.Form
	
	Public Sub New()
		'
		' The Me.InitializeComponent call is required for Windows Forms designer support.
		'
		Me.InitializeComponent
		'
		' TODO : Add constructor code after InitializeComponents
		'
	End Sub
End Class
	]]></File>
					<!--
					   The file element supports these attributes:
					   language, buildAction, copyToOutputDirectory, dependentUpon, subType
					-->
					<File name="Main.Designer.vb" buildAction="Compile" dependentUpon="Main.vb" subType="Code"><![CDATA[
Partial Class MainForm
	' This file is required for Windows Forms designer support.
	' Do not change the contents inside the source code editor. The Forms designer might
	' not be able to load this method if it was changed manually.
	Private Sub InitializeComponent()
		'
		'Form1
		'
		Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
		Me.ClientSize = New System.Drawing.Size(292, 266)
		Me.Name = "MainForm"
		Me.Text = "MainForm"
	End Sub
End Class
]]>
					</File>
				</Files>
			</Project>
		</SolutionFolder>
		
		<!-- a project without language uses the language specified in the template header -->
		<Project name = "${ProjectName}" directory = ".">
			<Options/>
			<ProjectItems>
				<Reference Include="System" />
				<Reference Include="System.Data" />
				<Reference Include="System.Xml" />
			</ProjectItems>
			<Files>
			<File name="Elements\Readme.txt"><![CDATA[// project ${ProjectName} and file ${FileName} created on ${Date}
at ${Time}]]></File>
<File name="Tables\Readme.txt"><![CDATA[// project created on ${Date} at ${Time}]]></File>
<File name="Forms\Readme.txt"><![CDATA[// project created on ${Date} at ${Time}]]></File>
<File name="Forms\Dialogs\Readme.txt"><![CDATA[// project created on ${Date} at ${Time}]]></File>
<File name="Forms\Controls\Readme.txt"><![CDATA[// project created on ${Date} at ${Time}]]></File>
<File name="Menu\Readme.txt"><![CDATA[// project created on ${Date} at ${Time}]]></File>
<File name="Reports\Readme.txt"><![CDATA[// project created on ${Date} at ${Time}]]></File>
<File name="Batches\Readme.txt"><![CDATA[// project created on ${Date} at ${Time}]]></File>
				<File name="Main.cs"><![CDATA[// project created on ${Date} at ${Time}
using System;

class MainClass
{
	public static void Main(string[] args)
	{
		Console.WriteLine("Hello World!");
	}
}]]></File>
			<File name="AssemblyInfo.cs"><![CDATA[using System.Reflection;
using System.Runtime.CompilerServices;

// Information about this assembly is defined by the following
// attributes.
//
// change them to the information which is associated with the assembly
// you compile.

[assembly: AssemblyTitle("")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// The assembly version has following format :
//
// Major.Minor.Build.Revision
//
// You can specify all values by your own or you can build default build and revision
// numbers with the '*' character (the default):

[assembly: AssemblyVersion("1.0.*")]

]]></File>
			</Files>
		</Project>
	</Solution>
</Template>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -