1
0
Fork 0
Browse Source

create wpf .net core 3 desktop project.

pull/6/head
Craig Oates 4 years ago
parent
commit
80b866ca44
  1. 25
      eyes-and-ears/eyes-and-ears.sln
  2. 9
      eyes-and-ears/eyes-and-ears.wpf/App.xaml
  3. 15
      eyes-and-ears/eyes-and-ears.wpf/App.xaml.cs
  4. 10
      eyes-and-ears/eyes-and-ears.wpf/AssemblyInfo.cs
  5. 12
      eyes-and-ears/eyes-and-ears.wpf/MainWindow.xaml
  6. 25
      eyes-and-ears/eyes-and-ears.wpf/MainWindow.xaml.cs
  7. 10
      eyes-and-ears/eyes-and-ears.wpf/eyes-and-ears.wpf.csproj

25
eyes-and-ears/eyes-and-ears.sln

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29709.97
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "eyes-and-ears.wpf", "eyes-and-ears.wpf\eyes-and-ears.wpf.csproj", "{AECFBF65-7B27-4C08-B82A-E665D68D004C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AECFBF65-7B27-4C08-B82A-E665D68D004C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AECFBF65-7B27-4C08-B82A-E665D68D004C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AECFBF65-7B27-4C08-B82A-E665D68D004C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AECFBF65-7B27-4C08-B82A-E665D68D004C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {520BC426-533B-40E1-81AD-99A516658FB6}
EndGlobalSection
EndGlobal

9
eyes-and-ears/eyes-and-ears.wpf/App.xaml

@ -0,0 +1,9 @@
<Application x:Class="eyes_and_ears.wpf.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:eyes_and_ears.wpf"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>

15
eyes-and-ears/eyes-and-ears.wpf/App.xaml.cs

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace eyes_and_ears.wpf {
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application {
}
}

10
eyes-and-ears/eyes-and-ears.wpf/AssemblyInfo.cs

@ -0,0 +1,10 @@
using System.Windows;
[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)
)]

12
eyes-and-ears/eyes-and-ears.wpf/MainWindow.xaml

@ -0,0 +1,12 @@
<Window x:Class="eyes_and_ears.wpf.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:eyes_and_ears.wpf"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
</Grid>
</Window>

25
eyes-and-ears/eyes-and-ears.wpf/MainWindow.xaml.cs

@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace eyes_and_ears.wpf {
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window {
public MainWindow() {
InitializeComponent();
}
}
}

10
eyes-and-ears/eyes-and-ears.wpf/eyes-and-ears.wpf.csproj

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>eyes_and_ears.wpf</RootNamespace>
<UseWPF>true</UseWPF>
</PropertyGroup>
</Project>