Changed the system tray icon font scaling to adapt to the size of the tray icon in pixels, because on Windows 7 the tray icon scales with the system font size, while on Windows XP the tray icons are always 16 pixels large.
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6 <ProjectGuid>{F5E0C1F7-9E9B-46F2-AC88-8C9C1C923880}</ProjectGuid>
7 <ProductVersion>9.0.30729</ProductVersion>
8 <SchemaVersion>2.0</SchemaVersion>
9 <OutputType>WinExe</OutputType>
10 <NoStandardLibraries>false</NoStandardLibraries>
11 <AssemblyName>OpenHardwareMonitor</AssemblyName>
12 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
13 <FileAlignment>512</FileAlignment>
14 <RootNamespace>OpenHardwareMonitor</RootNamespace>
15 <ApplicationIcon>Resources\icon.ico</ApplicationIcon>
16 <ApplicationManifest>Resources\app.manifest</ApplicationManifest>
17 <StartupObject>OpenHardwareMonitor.Program</StartupObject>
20 <OldToolsVersion>3.5</OldToolsVersion>
21 <UpgradeBackupLocation />
22 <IsWebBootstrapper>false</IsWebBootstrapper>
23 <PublishUrl>publish\</PublishUrl>
24 <Install>true</Install>
25 <InstallFrom>Disk</InstallFrom>
26 <UpdateEnabled>false</UpdateEnabled>
27 <UpdateMode>Foreground</UpdateMode>
28 <UpdateInterval>7</UpdateInterval>
29 <UpdateIntervalUnits>Days</UpdateIntervalUnits>
30 <UpdatePeriodically>false</UpdatePeriodically>
31 <UpdateRequired>false</UpdateRequired>
32 <MapFileExtensions>true</MapFileExtensions>
33 <ApplicationRevision>0</ApplicationRevision>
34 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
35 <UseApplicationTrust>false</UseApplicationTrust>
36 <BootstrapperEnabled>true</BootstrapperEnabled>
38 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
39 <DebugSymbols>true</DebugSymbols>
40 <DebugType>full</DebugType>
41 <Optimize>false</Optimize>
42 <OutputPath>Bin\Debug\</OutputPath>
43 <DefineConstants>TRACE;DEBUG</DefineConstants>
44 <ErrorReport>prompt</ErrorReport>
45 <WarningLevel>4</WarningLevel>
46 <UseVSHostingProcess>true</UseVSHostingProcess>
47 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
48 <PlatformTarget>AnyCPU</PlatformTarget>
50 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
51 <DebugType>none</DebugType>
52 <Optimize>true</Optimize>
53 <OutputPath>Bin\Release\</OutputPath>
54 <DefineConstants>TRACE</DefineConstants>
55 <ErrorReport>prompt</ErrorReport>
56 <WarningLevel>4</WarningLevel>
57 <UseVSHostingProcess>false</UseVSHostingProcess>
58 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
61 <Reference Include="System" />
62 <Reference Include="System.Configuration.Install" />
63 <Reference Include="System.Drawing" />
64 <Reference Include="System.Management" />
65 <Reference Include="System.Windows.Forms" />
66 <Reference Include="System.Xml" />
67 <Reference Include="Aga.Controls, Version=1.7.0.0, Culture=neutral, PublicKeyToken=fcc90fbf924463a3">
68 <SpecificVersion>False</SpecificVersion>
69 <HintPath>External\Aga.Controls.dll</HintPath>
73 <Compile Include="GUI\GadgetWindow.cs" />
74 <Compile Include="GUI\Gadget.cs" />
75 <Compile Include="GUI\HardwareTypeImage.cs" />
76 <Compile Include="GUI\NotifyIconAdv.cs">
77 <SubType>Component</SubType>
79 <Compile Include="GUI\PlotPanel.cs">
80 <SubType>UserControl</SubType>
82 <Compile Include="GUI\PortForm.cs">
83 <SubType>Form</SubType>
85 <Compile Include="GUI\PortForm.Designer.cs">
86 <DependentUpon>PortForm.cs</DependentUpon>
88 <Compile Include="GUI\ReportForm.cs">
89 <SubType>Form</SubType>
91 <Compile Include="GUI\ReportForm.Designer.cs">
92 <DependentUpon>ReportForm.cs</DependentUpon>
94 <Compile Include="GUI\CrashForm.cs">
95 <SubType>Form</SubType>
97 <Compile Include="GUI\CrashForm.Designer.cs">
98 <DependentUpon>CrashForm.cs</DependentUpon>
100 <Compile Include="GUI\Node.cs" />
101 <Compile Include="GUI\ParameterForm.cs">
102 <SubType>Form</SubType>
104 <Compile Include="GUI\ParameterForm.Designer.cs">
105 <DependentUpon>ParameterForm.cs</DependentUpon>
107 <Compile Include="GUI\SensorGadget.cs" />
108 <Compile Include="GUI\SensorNotifyIcon.cs" />
109 <Compile Include="GUI\ShowDesktop.cs" />
110 <Compile Include="GUI\SplitContainerAdv.cs">
111 <SubType>Component</SubType>
113 <Compile Include="GUI\SystemTray.cs" />
114 <Compile Include="GUI\StartupManager.cs" />
115 <Compile Include="GUI\TaskScheduler.cs" />
116 <Compile Include="GUI\TreeModel.cs" />
117 <Compile Include="GUI\TypeNode.cs" />
118 <Compile Include="GUI\UnitManager.cs" />
119 <Compile Include="GUI\UpdateVisitor.cs" />
120 <Compile Include="GUI\UserOption.cs" />
121 <Compile Include="GUI\UserRadioGroup.cs" />
122 <Compile Include="Properties\AssemblyVersion.cs" />
123 <Compile Include="Utilities\HttpServer.cs" />
124 <Compile Include="Utilities\PersistentSettings.cs" />
125 <Compile Include="Properties\AssemblyInfo.cs" />
126 <Compile Include="GUI\AboutBox.cs">
127 <SubType>Form</SubType>
129 <Compile Include="GUI\AboutBox.Designer.cs">
130 <DependentUpon>AboutBox.cs</DependentUpon>
132 <Compile Include="GUI\HardwareNode.cs" />
133 <Compile Include="GUI\MainForm.cs">
134 <SubType>Form</SubType>
136 <Compile Include="GUI\MainForm.Designer.cs">
137 <DependentUpon>MainForm.cs</DependentUpon>
139 <Compile Include="Program.cs" />
140 <Compile Include="GUI\SensorNode.cs" />
141 <Compile Include="Utilities\EmbeddedResources.cs" />
142 <Compile Include="Utilities\IconFactory.cs" />
143 <Compile Include="WMI\Hardware.cs" />
144 <Compile Include="WMI\IWmiObject.cs" />
145 <Compile Include="WMI\Sensor.cs" />
146 <Compile Include="WMI\WmiProvider.cs">
147 <SubType>Component</SubType>
151 <EmbeddedResource Include="GUI\AboutBox.resx">
152 <DependentUpon>AboutBox.cs</DependentUpon>
153 <SubType>Designer</SubType>
155 <EmbeddedResource Include="GUI\PortForm.resx">
156 <DependentUpon>PortForm.cs</DependentUpon>
158 <EmbeddedResource Include="Resources\ati.png">
160 <EmbeddedResource Include="Resources\bigng.png" />
161 <EmbeddedResource Include="Resources\clock.png" />
162 <EmbeddedResource Include="Resources\computer.png" />
163 <EmbeddedResource Include="Resources\cpu.png" />
164 <EmbeddedResource Include="Resources\fan.png" />
165 <EmbeddedResource Include="Resources\temperature.png" />
168 <EmbeddedResource Include="Resources\chip.png" />
169 <EmbeddedResource Include="Resources\hdd.png" />
170 <EmbeddedResource Include="Resources\load.png" />
171 <EmbeddedResource Include="Resources\voltage.png" />
172 <EmbeddedResource Include="Resources\nvidia.png" />
175 <None Include="App.config" />
176 <None Include="Resources\app.manifest">
177 <SubType>Designer</SubType>
179 <None Include="Resources\icon.ico" />
182 <EmbeddedResource Include="Resources\smallicon.ico" />
185 <EmbeddedResource Include="GUI\ParameterForm.resx">
186 <DependentUpon>ParameterForm.cs</DependentUpon>
188 <EmbeddedResource Include="Resources\flow.png" />
191 <EmbeddedResource Include="GUI\CrashForm.resx">
192 <DependentUpon>CrashForm.cs</DependentUpon>
194 <EmbeddedResource Include="Resources\mainboard.png" />
197 <EmbeddedResource Include="GUI\MainForm.resx">
198 <DependentUpon>MainForm.cs</DependentUpon>
199 <SubType>Designer</SubType>
201 <EmbeddedResource Include="GUI\ReportForm.resx">
202 <DependentUpon>ReportForm.cs</DependentUpon>
204 <EmbeddedResource Include="Resources\control.png" />
207 <ProjectReference Include="OpenHardwareMonitorLib.csproj">
208 <Project>{B0397530-545A-471D-BB74-027AE456DF1A}</Project>
209 <Name>OpenHardwareMonitorLib</Name>
213 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
214 <Visible>False</Visible>
215 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
216 <Install>false</Install>
217 </BootstrapperPackage>
218 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
219 <Visible>False</Visible>
220 <ProductName>.NET Framework 3.5 SP1</ProductName>
221 <Install>true</Install>
222 </BootstrapperPackage>
223 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
224 <Visible>False</Visible>
225 <ProductName>Windows Installer 3.1</ProductName>
226 <Install>true</Install>
227 </BootstrapperPackage>
230 <EmbeddedResource Include="Resources\barback.png" />
231 <EmbeddedResource Include="Resources\barblue.png" />
232 <EmbeddedResource Include="Resources\gadget.png" />
235 <EmbeddedResource Include="Resources\level.png" />
238 <EmbeddedResource Include="Resources\power.png" />
241 <EmbeddedResource Include="Resources\data.png" />
244 <EmbeddedResource Include="Resources\factor.png" />
247 <EmbeddedResource Include="Resources\Web\js\jquery-ui-1.8.16.custom.min.js" />
248 <EmbeddedResource Include="Resources\Web\js\jquery.tmpl.min.js" />
249 <EmbeddedResource Include="Resources\Web\js\jquery.treeTable.min.js" />
250 <EmbeddedResource Include="Resources\Web\js\ohm_web.js" />
253 <EmbeddedResource Include="Resources\Web\images\toggle-collapse-dark.png" />
254 <EmbeddedResource Include="Resources\Web\images\toggle-collapse-light.png" />
255 <EmbeddedResource Include="Resources\Web\images\toggle-expand-dark.png" />
256 <EmbeddedResource Include="Resources\Web\images\toggle-expand-light.png" />
259 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-bg_flat_0_aaaaaa_40x100.png" />
260 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-bg_glass_55_fbf9ee_1x400.png" />
261 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-bg_glass_65_ffffff_1x400.png" />
262 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-bg_glass_75_dadada_1x400.png" />
263 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-bg_glass_75_e6e6e6_1x400.png" />
264 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-bg_glass_75_ffffff_1x400.png" />
265 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-bg_highlight-soft_75_cccccc_1x100.png" />
266 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-bg_inset-soft_95_fef1ec_1x100.png" />
267 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-icons_222222_256x240.png" />
268 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-icons_2e83ff_256x240.png" />
269 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-icons_454545_256x240.png" />
270 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-icons_888888_256x240.png" />
271 <EmbeddedResource Include="Resources\Web\css\custom-theme\images\ui-icons_cd0a0a_256x240.png" />
272 <EmbeddedResource Include="Resources\Web\css\custom-theme\jquery-ui-1.8.16.custom.css" />
275 <EmbeddedResource Include="Resources\Web\css\jquery.treeTable.css" />
276 <EmbeddedResource Include="Resources\Web\css\ohm_web.css" />
279 <EmbeddedResource Include="Resources\Web\index.html" />
282 <EmbeddedResource Include="Resources\Web\images\transparent.png" />
285 <EmbeddedResource Include="Resources\Web\js\jquery-1.7.2.min.js" />
286 <EmbeddedResource Include="Resources\Web\js\knockout-2.1.0.min.js" />
287 <EmbeddedResource Include="Resources\Web\js\knockout.mapping-latest.min.js" />
289 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
291 <VisualStudio AllowExistingFolder="true" />
296 <PostBuildEvent>copy "$(ProjectDir)External\*.*" "$(TargetDir)"
297 copy "$(ProjectDir)Licenses\*.*" "$(TargetDir)"</PostBuildEvent>