Extending our settings framework to store custom settings for each display type.
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="4.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.5</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>1.0.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\MiniDisplay\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\MiniDisplay\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 <Reference Include="Microsoft.VisualBasic" />
74 <Reference Include="Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
75 <Reference Include="System" />
76 <Reference Include="System.Configuration" />
77 <Reference Include="System.Core" />
78 <Reference Include="System.Runtime.Serialization" />
79 <Reference Include="System.ServiceModel" />
80 <Reference Include="System.Xml.Linq" />
81 <Reference Include="System.Data.DataSetExtensions" />
82 <Reference Include="Microsoft.CSharp" />
83 <Reference Include="System.Data" />
84 <Reference Include="System.Deployment" />
85 <Reference Include="System.Drawing" />
86 <Reference Include="System.Windows.Forms" />
87 <Reference Include="System.Xml" />
88 <Reference Include="System.Xml.Serialization" />
91 <Compile Include="CbtHook.cs" />
92 <Compile Include="DialogBox.cs" />
93 <Compile Include="Display.cs" />
94 <Compile Include="DisplaySettings.cs" />
95 <Compile Include="MainForm.cs">
96 <SubType>Form</SubType>
98 <Compile Include="MainForm.Designer.cs">
99 <DependentUpon>MainForm.cs</DependentUpon>
101 <Compile Include="MarqueeLabel.cs" />
102 <Compile Include="Program.cs" />
103 <Compile Include="Properties\AssemblyInfo.cs" />
104 <Compile Include="Servers.cs" />
105 <Compile Include="Services.cs" />
106 <Compile Include="Settings.cs" />
107 <Compile Include="Win32API.cs" />
108 <Compile Include="WindowsHook.cs" />
109 <Compile Include="WndProcRetHook.cs" />
110 <EmbeddedResource Include="MainForm.resx">
111 <DependentUpon>MainForm.cs</DependentUpon>
113 <EmbeddedResource Include="Properties\Resources.resx">
114 <Generator>ResXFileCodeGenerator</Generator>
115 <LastGenOutput>Resources.Designer.cs</LastGenOutput>
116 <SubType>Designer</SubType>
118 <Compile Include="Properties\Resources.Designer.cs">
119 <AutoGen>True</AutoGen>
120 <DependentUpon>Resources.resx</DependentUpon>
121 <DesignTime>True</DesignTime>
123 <None Include="Properties\Settings.settings">
124 <Generator>SettingsSingleFileGenerator</Generator>
125 <LastGenOutput>Settings.Designer.cs</LastGenOutput>
127 <Compile Include="Properties\Settings.Designer.cs">
128 <AutoGen>True</AutoGen>
129 <DependentUpon>Settings.settings</DependentUpon>
130 <DesignTimeSharedInput>True</DesignTimeSharedInput>
134 <None Include="App.config" />
137 <ProjectReference Include="..\Client\SharpDisplayClient.csproj">
138 <Project>{7ee64074-8cdb-4448-b40c-81b75d6b31cd}</Project>
139 <Name>SharpDisplayClient</Name>
141 <ProjectReference Include="..\Interface\SharpDisplayInterface.csproj">
142 <Project>{88eee0dc-abbc-4738-bad6-7e08cf7f50f9}</Project>
143 <Name>SharpDisplayInterface</Name>
147 <BootstrapperPackage Include=".NETFramework,Version=v4.0">
148 <Visible>False</Visible>
149 <ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
150 <Install>true</Install>
151 </BootstrapperPackage>
152 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
153 <Visible>False</Visible>
154 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
155 <Install>false</Install>
156 </BootstrapperPackage>
157 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
158 <Visible>False</Visible>
159 <ProductName>.NET Framework 3.5 SP1</ProductName>
160 <Install>false</Install>
161 </BootstrapperPackage>
162 <BootstrapperPackage Include="Microsoft.Windows.Installer.4.5">
163 <Visible>False</Visible>
164 <ProductName>Windows Installer 4.5</ProductName>
165 <Install>true</Install>
166 </BootstrapperPackage>
168 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
169 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
170 Other similar extension points exist, see Microsoft.Common.targets.
171 <Target Name="BeforeBuild">
173 <Target Name="AfterBuild">