Adding option to reconnect CEC before TV power action.
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>{1DA8C1B3-18C5-4E74-BE4E-0B0E15FBAF49}</ProjectGuid>
8 <OutputType>WinExe</OutputType>
9 <AppDesignerFolder>Properties</AppDesignerFolder>
10 <RootNamespace>SharpDisplayManager</RootNamespace>
11 <AssemblyName>SharpDisplayManager</AssemblyName>
12 <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
13 <FileAlignment>512</FileAlignment>
14 <TargetFrameworkProfile />
15 <IsWebBootstrapper>true</IsWebBootstrapper>
16 <NuGetPackageImportStamp>
17 </NuGetPackageImportStamp>
18 <PublishUrl>ftp://lenclud%40monroe.dreamhost.com/publish.slions.net/SharpDisplayManager/</PublishUrl>
19 <Install>true</Install>
20 <InstallFrom>Web</InstallFrom>
21 <UpdateEnabled>true</UpdateEnabled>
22 <UpdateMode>Background</UpdateMode>
23 <UpdateInterval>7</UpdateInterval>
24 <UpdateIntervalUnits>Days</UpdateIntervalUnits>
25 <UpdatePeriodically>true</UpdatePeriodically>
26 <UpdateRequired>false</UpdateRequired>
27 <MapFileExtensions>true</MapFileExtensions>
28 <InstallUrl>http://publish.slions.net/SharpDisplayManager/</InstallUrl>
29 <SupportUrl>http://publish.slions.net/SharpDisplayManager/</SupportUrl>
30 <ProductName>Sharp Display Manager</ProductName>
31 <PublisherName>Slions</PublisherName>
32 <SuiteName>Sharp Display Manager</SuiteName>
33 <CreateWebPageOnPublish>true</CreateWebPageOnPublish>
34 <WebPage>index.htm</WebPage>
35 <OpenBrowserOnPublish>false</OpenBrowserOnPublish>
36 <ApplicationRevision>0</ApplicationRevision>
37 <ApplicationVersion>0.9.1.0</ApplicationVersion>
38 <UseApplicationTrust>false</UseApplicationTrust>
39 <CreateDesktopShortcut>true</CreateDesktopShortcut>
40 <PublishWizardCompleted>true</PublishWizardCompleted>
41 <BootstrapperEnabled>true</BootstrapperEnabled>
43 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
44 <PlatformTarget>AnyCPU</PlatformTarget>
45 <DebugSymbols>true</DebugSymbols>
46 <DebugType>full</DebugType>
47 <Optimize>false</Optimize>
48 <OutputPath>..\..\bin\MiniDisplay\Debug\</OutputPath>
49 <DefineConstants>DEBUG;TRACE</DefineConstants>
50 <ErrorReport>prompt</ErrorReport>
51 <WarningLevel>4</WarningLevel>
52 <Prefer32Bit>false</Prefer32Bit>
54 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
55 <PlatformTarget>AnyCPU</PlatformTarget>
56 <DebugType>pdbonly</DebugType>
57 <Optimize>true</Optimize>
58 <OutputPath>..\..\bin\MiniDisplay\Release\</OutputPath>
59 <DefineConstants>TRACE</DefineConstants>
60 <ErrorReport>prompt</ErrorReport>
61 <WarningLevel>4</WarningLevel>
62 <Prefer32Bit>false</Prefer32Bit>
64 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
65 <DebugSymbols>true</DebugSymbols>
66 <OutputPath>..\bin\x86\Debug\</OutputPath>
67 <BaseIntermediateOutputPath>..\bin\x86\Debug\obj</BaseIntermediateOutputPath>
68 <DefineConstants>DEBUG;TRACE</DefineConstants>
69 <DebugType>full</DebugType>
70 <PlatformTarget>x86</PlatformTarget>
71 <ErrorReport>prompt</ErrorReport>
72 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
73 <Prefer32Bit>false</Prefer32Bit>
74 <UseVSHostingProcess>true</UseVSHostingProcess>
76 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
77 <OutputPath>..\bin\x86\Release\</OutputPath>
78 <BaseIntermediateOutputPath>..\bin\x86\Release\obj</BaseIntermediateOutputPath>
79 <DefineConstants>TRACE</DefineConstants>
80 <Optimize>true</Optimize>
81 <DebugType>pdbonly</DebugType>
82 <PlatformTarget>x86</PlatformTarget>
83 <ErrorReport>prompt</ErrorReport>
84 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
85 <Prefer32Bit>false</Prefer32Bit>
88 <SignManifests>true</SignManifests>
91 <ManifestCertificateThumbprint>5BAED0690B4D99A5D9E89E562A8B9A2BE342929E</ManifestCertificateThumbprint>
94 <ManifestKeyFile>SharpDisplayManager_TemporaryKey.pfx</ManifestKeyFile>
97 <GenerateManifests>true</GenerateManifests>
100 <ApplicationIcon>Resources\vfd.ico</ApplicationIcon>
103 <StartupObject>SharpDisplayManager.Program</StartupObject>
107 <TargetZone>LocalIntranet</TargetZone>
110 <Reference Include="LibCecSharp, Version=2.2.0.0, Culture=neutral, processorArchitecture=x86">
111 <HintPath>.\LibCecSharp.dll</HintPath>
112 <SpecificVersion>False</SpecificVersion>
114 <Reference Include="Microsoft.VisualBasic" />
115 <Reference Include="MiniDisplayInterop, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
116 <HintPath>..\packages\LibMiniDisplay.1.1.8\lib\net20\MiniDisplayInterop.dll</HintPath>
117 <Private>True</Private>
119 <Reference Include="NAudio, Version=1.7.3.0, Culture=neutral, processorArchitecture=MSIL">
120 <SpecificVersion>False</SpecificVersion>
121 <HintPath>..\packages\NAudio.1.7.3\lib\net35\NAudio.dll</HintPath>
123 <Reference Include="SharpLibDisplay, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
124 <HintPath>..\packages\SharpLibDisplay.0.2.5\lib\net40\SharpLibDisplay.dll</HintPath>
125 <Private>True</Private>
127 <Reference Include="SharpLibHid, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86">
128 <HintPath>..\packages\SharpLibHid.1.3.1\lib\net20\SharpLibHid.dll</HintPath>
129 <Private>True</Private>
131 <Reference Include="SharpLibNotification, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
132 <HintPath>..\packages\SharpLibNotification.0.0.1\lib\net40\SharpLibNotification.dll</HintPath>
133 <Private>True</Private>
135 <Reference Include="SharpLibWin32, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86">
136 <SpecificVersion>False</SpecificVersion>
137 <HintPath>..\packages\SharpLibWin32.0.0.7\lib\net20\SharpLibWin32.dll</HintPath>
139 <Reference Include="System" />
140 <Reference Include="System.Configuration" />
141 <Reference Include="System.Core" />
142 <Reference Include="System.Runtime.Serialization" />
143 <Reference Include="System.Security" />
144 <Reference Include="System.ServiceModel" />
145 <Reference Include="System.Xml.Linq" />
146 <Reference Include="System.Data.DataSetExtensions" />
147 <Reference Include="Microsoft.CSharp" />
148 <Reference Include="System.Data" />
149 <Reference Include="System.Deployment" />
150 <Reference Include="System.Drawing" />
151 <Reference Include="System.Windows.Forms" />
152 <Reference Include="System.Xml" />
153 <Reference Include="System.Xml.Serialization" />
156 <Compile Include="CbtHook.cs" />
157 <Compile Include="CecClient.cs" />
158 <Compile Include="ConsumerElectronicControl.cs" />
159 <Compile Include="ClientData.cs" />
160 <Compile Include="FxControl.cs">
161 <SubType>UserControl</SubType>
163 <Compile Include="FxControl.Designer.cs">
164 <DependentUpon>FxControl.cs</DependentUpon>
166 <Compile Include="MainForm.Hid.cs">
167 <DependentUpon>MainForm.cs</DependentUpon>
169 <Compile Include="NetworkManager.cs" />
170 <Compile Include="DialogBox.cs" />
171 <Compile Include="Display.cs" />
172 <Compile Include="DisplaySettings.cs" />
173 <Compile Include="MainForm.cs">
174 <SubType>Form</SubType>
176 <Compile Include="MainForm.Designer.cs">
177 <DependentUpon>MainForm.cs</DependentUpon>
179 <Compile Include="MarqueeLabel.cs" />
180 <Compile Include="Program.cs" />
181 <Compile Include="ProgressForm.cs">
182 <SubType>Form</SubType>
184 <Compile Include="ProgressForm.Designer.cs">
185 <DependentUpon>ProgressForm.cs</DependentUpon>
187 <Compile Include="Properties\AssemblyInfo.cs" />
188 <Compile Include="RichTextBoxTextWriter.cs" />
189 <Compile Include="Session.cs" />
190 <Compile Include="Settings.cs" />
191 <Compile Include="StartupManager.cs" />
192 <Compile Include="TaskScheduler.cs" />
193 <Compile Include="Win32API.cs" />
194 <Compile Include="WindowsHook.cs" />
195 <Compile Include="WndProcRetHook.cs" />
196 <EmbeddedResource Include="FxControl.resx">
197 <DependentUpon>FxControl.cs</DependentUpon>
199 <EmbeddedResource Include="MainForm.resx">
200 <DependentUpon>MainForm.cs</DependentUpon>
202 <EmbeddedResource Include="ProgressForm.resx">
203 <DependentUpon>ProgressForm.cs</DependentUpon>
205 <EmbeddedResource Include="Properties\Resources.resx">
206 <Generator>ResXFileCodeGenerator</Generator>
207 <LastGenOutput>Resources.Designer.cs</LastGenOutput>
208 <SubType>Designer</SubType>
210 <Compile Include="Properties\Resources.Designer.cs">
211 <AutoGen>True</AutoGen>
212 <DependentUpon>Resources.resx</DependentUpon>
213 <DesignTime>True</DesignTime>
215 <None Include="App.config" />
216 <None Include="app.manifest" />
217 <None Include="packages.config" />
218 <None Include="Properties\Settings.settings">
219 <Generator>SettingsSingleFileGenerator</Generator>
220 <LastGenOutput>Settings.Designer.cs</LastGenOutput>
222 <Compile Include="Properties\Settings.Designer.cs">
223 <AutoGen>True</AutoGen>
224 <DependentUpon>Settings.settings</DependentUpon>
225 <DesignTimeSharedInput>True</DesignTimeSharedInput>
227 <None Include="Resources\Windows-Media-Center-icon-32.png" />
228 <None Include="SharpDisplayManager_TemporaryKey.pfx" />
231 <ProjectReference Include="..\Clients\Idle\SharpDisplayClientIdle.csproj">
232 <Project>{a76579e5-aa8d-45a3-99e1-239a5c030a78}</Project>
233 <Name>SharpDisplayClientIdle</Name>
235 <ProjectReference Include="..\Clients\Test\SharpDisplayClientTest.csproj">
236 <Project>{7ee64074-8cdb-4448-b40c-81b75d6b31cd}</Project>
237 <Name>SharpDisplayClientTest</Name>
239 <ProjectReference Include="..\PowerManager\PowerManager.vcxproj">
240 <Project>{c174f23d-3055-49bc-b6b0-563011af624d}</Project>
241 <Name>PowerManager</Name>
245 <BootstrapperPackage Include=".NETFramework,Version=v4.0">
246 <Visible>False</Visible>
247 <ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
248 <Install>true</Install>
249 </BootstrapperPackage>
250 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
251 <Visible>False</Visible>
252 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
253 <Install>false</Install>
254 </BootstrapperPackage>
255 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
256 <Visible>False</Visible>
257 <ProductName>.NET Framework 3.5 SP1</ProductName>
258 <Install>false</Install>
259 </BootstrapperPackage>
260 <BootstrapperPackage Include="Microsoft.Visual.C++.14.0.x86">
261 <Visible>False</Visible>
262 <ProductName>Visual C++ "14" Runtime Libraries %28x86%29</ProductName>
263 <Install>true</Install>
264 </BootstrapperPackage>
265 <BootstrapperPackage Include="Microsoft.Windows.Installer.4.5">
266 <Visible>False</Visible>
267 <ProductName>Windows Installer 4.5</ProductName>
268 <Install>true</Install>
269 </BootstrapperPackage>
272 <EmbeddedResource Include="Resources\vfd.ico" />
275 <COMReference Include="NETWORKLIST">
276 <Guid>{DCB00D01-570F-4A9B-8D69-199FDBA5723B}</Guid>
277 <VersionMajor>1</VersionMajor>
278 <VersionMinor>0</VersionMinor>
280 <WrapperTool>tlbimp</WrapperTool>
281 <Isolated>False</Isolated>
282 <EmbedInteropTypes>True</EmbedInteropTypes>
284 <COMReference Include="Shell32">
285 <Guid>{50A7E9B0-70EF-11D1-B75A-00A0C90564FE}</Guid>
286 <VersionMajor>1</VersionMajor>
287 <VersionMinor>0</VersionMinor>
289 <WrapperTool>tlbimp</WrapperTool>
290 <Isolated>False</Isolated>
291 <EmbedInteropTypes>True</EmbedInteropTypes>
295 <Content Include="..\bin\x86\Release\MiniDisplay.dll">
296 <Link>MiniDisplay.dll</Link>
298 <Content Include="cec.dll">
299 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
301 <EmbeddedResource Include="Resources\record.ico" />
303 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
304 <Import Project="..\packages\LibMiniDisplay.1.1.8\build\LibMiniDisplay.targets" Condition="Exists('..\packages\LibMiniDisplay.1.1.8\build\LibMiniDisplay.targets')" />
305 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
307 <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
309 <Error Condition="!Exists('..\packages\LibMiniDisplay.1.1.8\build\LibMiniDisplay.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibMiniDisplay.1.1.8\build\LibMiniDisplay.targets'))" />
311 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
312 Other similar extension points exist, see Microsoft.Common.targets.
313 <Target Name="BeforeBuild">
315 <Target Name="AfterBuild">