You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
155 lines
4.9 KiB
155 lines
4.9 KiB
<?xml version="1.0"?> |
|
<Template originator = "Mathias Simmack" |
|
created = "26/10/2005" |
|
lastModified = "20/11/2005"> |
|
|
|
<!-- Template Header --> |
|
<TemplateConfiguration> |
|
<Name>WinFX Navigation Application</Name> |
|
<Category>C#</Category> |
|
<Icon>C#.Project.Form</Icon> |
|
<LanguageName>C#</LanguageName> |
|
<Description>Creates a simple WinFX application with one navigation page.</Description> |
|
</TemplateConfiguration> |
|
|
|
<!-- Actions --> |
|
<Actions> |
|
</Actions> |
|
|
|
<Combine name = "${ProjectName}" directory = "."> |
|
<Options> |
|
<StartupProject>${ProjectName}</StartupProject> |
|
</Options> |
|
|
|
<Project name = "${ProjectName}" directory = "."> |
|
<Options OutputType = "WinExe" /> |
|
|
|
<ProjectItems> |
|
<Reference Include="System" /> |
|
<Reference Include="System.Data" /> |
|
<Reference Include="System.Printing"/> |
|
<Reference Include="System.Runtime.Serialization"/> |
|
<Reference Include="System.Security.Authorization"/> |
|
<!-- Reference Include="System.ServiceModel"/ --> |
|
<Reference Include="System.Xml" /> |
|
<Reference Include="WindowsBase" /> |
|
<Reference Include="PresentationCore" /> |
|
<Reference Include="PresentationFramework" /> |
|
<Reference Include="ReachFramework" /> |
|
<Reference Include="UIAutomationProvider" /> |
|
<Reference Include="UIAutomationTypes" /> |
|
</ProjectItems> |
|
|
|
<Imports> |
|
<Import Project="$(MSBuildBinPath)\Microsoft.WinFX.targets" /> |
|
</Imports> |
|
|
|
<Files> |
|
<File name="MyApp.xaml" buildAction="ApplicationDefinition" language="XML"><![CDATA[<Application xmlns="http://schemas.microsoft.com/winfx/avalon/2005" |
|
xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005" |
|
x:Class="${StandardNamespace}.MyApp" |
|
StartupUri="Page1.xaml"> |
|
<Application.Resources> |
|
|
|
</Application.Resources> |
|
</Application>]]></File> |
|
<File name="MyApp.xaml.cs" subType="Code" dependentUpon="MyApp.xaml"><![CDATA[using System; |
|
using System.Windows; |
|
using System.Windows.Navigation; |
|
using System.Data; |
|
using System.Xml; |
|
using System.Configuration; |
|
|
|
|
|
namespace ${StandardNamespace} |
|
{ |
|
/// <summary> |
|
/// Interaction logic for MyApp.xaml |
|
/// </summary> |
|
|
|
public partial class MyApp : Application |
|
{ |
|
|
|
} |
|
}]]></File> |
|
<File name="Page1.xaml" buildAction="Page"><![CDATA[<Page xmlns="http://schemas.microsoft.com/winfx/avalon/2005" |
|
xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005" |
|
x:Class="${StandardNamespace}.Page1"> |
|
<StackPanel> |
|
|
|
</StackPanel> |
|
</Page>]]></File> |
|
<File name="Page1.xaml.cs" subType="Code" dependentUpon="Page1.xaml"><![CDATA[using System; |
|
using System.Windows; |
|
using System.Windows.Controls; |
|
using System.Windows.Navigation; |
|
using System.ComponentModel; |
|
|
|
namespace ${StandardNamespace} |
|
{ |
|
public partial class Page1 : Page |
|
{ |
|
public Page1() |
|
{ |
|
InitializeComponent(); |
|
} |
|
} |
|
}]]></File> |
|
<File name="AssemblyInfo.cs"><![CDATA[#region Using directives |
|
|
|
using System.Reflection; |
|
using System.Runtime.CompilerServices; |
|
using System.Resources; |
|
using System.Globalization; |
|
using System.Windows; |
|
using System.Runtime.InteropServices; |
|
|
|
#endregion |
|
|
|
// General Information about an assembly is controlled through the following |
|
// set of attributes. Change these attribute values to modify the information |
|
// associated with an assembly. |
|
[assembly: AssemblyTitle("${ProjectName}")] |
|
[assembly: AssemblyDescription("")] |
|
[assembly: AssemblyConfiguration("")] |
|
[assembly: AssemblyCompany("${USER}")] |
|
[assembly: AssemblyProduct("${ProjectName}")] |
|
[assembly: AssemblyCopyright("Copyright @ ${USER} ${DATE}")] |
|
[assembly: AssemblyTrademark("")] |
|
[assembly: AssemblyCulture("")] |
|
[assembly: ComVisible(false)] |
|
|
|
//In order to begin building localizable applications, set |
|
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file |
|
//inside a <PropertyGroup>. For example, if you are using US english |
|
//in your source files, set the <UICulture> to en-US. Then uncomment |
|
//the NeutralResourceLanguage attribute below. Update the "en-US" in |
|
//the line below to match the UICulture setting in the project file. |
|
|
|
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] |
|
|
|
|
|
[assembly: ThemeInfo( |
|
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located |
|
//(used if a resource is not found in the page, |
|
// or application resource dictionaries) |
|
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located |
|
//(used if a resource is not found in the page, |
|
// app, or any theme specific resource dictionaries) |
|
)] |
|
|
|
|
|
// Version information for an assembly consists of the following four values: |
|
// |
|
// Major Version |
|
// Minor Version |
|
// Build Number |
|
// Revision |
|
// |
|
// You can specify all the values or you can default the Revision and Build Numbers |
|
// by using the '*' as shown below: |
|
[assembly: AssemblyVersion("1.0.*")]]]></File> |
|
</Files> |
|
</Project> |
|
</Combine> |
|
</Template>
|
|
|