Add PowerManager C++/CLI project.
Monitor Power On/Off notifications working.
Moving to .NET 4.6
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
5 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7 <ProjectGuid>{7EE64074-8CDB-4448-B40C-81B75D6B31CD}</ProjectGuid>
8 <OutputType>WinExe</OutputType>
9 <AppDesignerFolder>Properties</AppDesignerFolder>
10 <RootNamespace>SharpDisplayClient</RootNamespace>
11 <AssemblyName>SharpDisplayClient</AssemblyName>
12 <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
13 <FileAlignment>512</FileAlignment>
14 <TargetFrameworkProfile />
15 <PublishUrl>publish\</PublishUrl>
16 <Install>true</Install>
17 <InstallFrom>Disk</InstallFrom>
18 <UpdateEnabled>false</UpdateEnabled>
19 <UpdateMode>Foreground</UpdateMode>
20 <UpdateInterval>7</UpdateInterval>
21 <UpdateIntervalUnits>Days</UpdateIntervalUnits>
22 <UpdatePeriodically>false</UpdatePeriodically>
23 <UpdateRequired>false</UpdateRequired>
24 <MapFileExtensions>true</MapFileExtensions>
25 <ApplicationRevision>0</ApplicationRevision>
26 <ApplicationVersion>0.1.0.%2a</ApplicationVersion>
27 <IsWebBootstrapper>false</IsWebBootstrapper>
28 <UseApplicationTrust>false</UseApplicationTrust>
29 <BootstrapperEnabled>true</BootstrapperEnabled>
31 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
32 <PlatformTarget>AnyCPU</PlatformTarget>
33 <DebugSymbols>true</DebugSymbols>
34 <DebugType>full</DebugType>
35 <Optimize>false</Optimize>
36 <OutputPath>bin\Debug\</OutputPath>
37 <DefineConstants>DEBUG;TRACE</DefineConstants>
38 <ErrorReport>prompt</ErrorReport>
39 <WarningLevel>4</WarningLevel>
40 <Prefer32Bit>false</Prefer32Bit>
42 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
43 <PlatformTarget>AnyCPU</PlatformTarget>
44 <DebugType>pdbonly</DebugType>
45 <Optimize>true</Optimize>
46 <OutputPath>bin\Release\</OutputPath>
47 <DefineConstants>TRACE</DefineConstants>
48 <ErrorReport>prompt</ErrorReport>
49 <WarningLevel>4</WarningLevel>
50 <Prefer32Bit>false</Prefer32Bit>
52 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
53 <DebugSymbols>true</DebugSymbols>
54 <OutputPath>..\..\bin\MiniDisplay\Debug\</OutputPath>
55 <DefineConstants>DEBUG;TRACE</DefineConstants>
56 <DebugType>full</DebugType>
57 <PlatformTarget>x86</PlatformTarget>
58 <ErrorReport>prompt</ErrorReport>
59 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
60 <Prefer32Bit>false</Prefer32Bit>
62 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
63 <OutputPath>bin\x86\Release\</OutputPath>
64 <DefineConstants>TRACE</DefineConstants>
65 <Optimize>true</Optimize>
66 <DebugType>pdbonly</DebugType>
67 <PlatformTarget>x86</PlatformTarget>
68 <ErrorReport>prompt</ErrorReport>
69 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
70 <Prefer32Bit>false</Prefer32Bit>
73 <SignManifests>true</SignManifests>
76 <ManifestCertificateThumbprint>70A149AB9F89E507D9411D109553BE22455895D6</ManifestCertificateThumbprint>
79 <ManifestKeyFile>SharpDisplayManager_TemporaryKey.pfx</ManifestKeyFile>
82 <NoWin32Manifest>true</NoWin32Manifest>
85 <Reference Include="System" />
86 <Reference Include="System.Core" />
87 <Reference Include="System.ServiceModel" />
88 <Reference Include="System.Xml.Linq" />
89 <Reference Include="System.Data.DataSetExtensions" />
90 <Reference Include="Microsoft.CSharp" />
91 <Reference Include="System.Data" />
92 <Reference Include="System.Deployment" />
93 <Reference Include="System.Drawing" />
94 <Reference Include="System.Windows.Forms" />
95 <Reference Include="System.Xml" />
98 <Compile Include="Client.cs" />
99 <Compile Include="MainForm.cs">
100 <SubType>Form</SubType>
102 <Compile Include="MainForm.Designer.cs">
103 <DependentUpon>MainForm.cs</DependentUpon>
105 <Compile Include="Program.cs" />
106 <Compile Include="Properties\AssemblyInfo.cs" />
107 <EmbeddedResource Include="MainForm.resx">
108 <DependentUpon>MainForm.cs</DependentUpon>
110 <EmbeddedResource Include="Properties\Resources.resx">
111 <Generator>ResXFileCodeGenerator</Generator>
112 <LastGenOutput>Resources.Designer.cs</LastGenOutput>
113 <SubType>Designer</SubType>
115 <Compile Include="Properties\Resources.Designer.cs">
116 <AutoGen>True</AutoGen>
117 <DependentUpon>Resources.resx</DependentUpon>
118 <DesignTime>True</DesignTime>
120 <None Include="Properties\Settings.settings">
121 <Generator>SettingsSingleFileGenerator</Generator>
122 <LastGenOutput>Settings.Designer.cs</LastGenOutput>
124 <Compile Include="Properties\Settings.Designer.cs">
125 <AutoGen>True</AutoGen>
126 <DependentUpon>Settings.settings</DependentUpon>
127 <DesignTimeSharedInput>True</DesignTimeSharedInput>
129 <None Include="SharpDisplayManager_TemporaryKey.pfx" />
132 <None Include="App.config" />
135 <ProjectReference Include="..\Interface\SharpDisplayInterface.csproj">
136 <Project>{88eee0dc-abbc-4738-bad6-7e08cf7f50f9}</Project>
137 <Name>SharpDisplayInterface</Name>
141 <BootstrapperPackage Include=".NETFramework,Version=v4.5">
142 <Visible>False</Visible>
143 <ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
144 <Install>true</Install>
145 </BootstrapperPackage>
146 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
147 <Visible>False</Visible>
148 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
149 <Install>false</Install>
150 </BootstrapperPackage>
151 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
152 <Visible>False</Visible>
153 <ProductName>.NET Framework 3.5 SP1</ProductName>
154 <Install>false</Install>
155 </BootstrapperPackage>
157 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
158 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
159 Other similar extension points exist, see Microsoft.Common.targets.
160 <Target Name="BeforeBuild">
162 <Target Name="AfterBuild">