Refactored some of the hardware monitoring code and fixed a few code inspection warnings.
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6 <ProductVersion>9.0.30729</ProductVersion>
7 <SchemaVersion>2.0</SchemaVersion>
8 <ProjectGuid>{B0397530-545A-471D-BB74-027AE456DF1A}</ProjectGuid>
9 <OutputType>Library</OutputType>
10 <AppDesignerFolder>Properties</AppDesignerFolder>
11 <RootNamespace>OpenHardwareMonitor</RootNamespace>
12 <AssemblyName>OpenHardwareMonitorLib</AssemblyName>
13 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
14 <FileAlignment>512</FileAlignment>
17 <OldToolsVersion>3.5</OldToolsVersion>
18 <UpgradeBackupLocation />
19 <PublishUrl>publish\</PublishUrl>
20 <Install>true</Install>
21 <InstallFrom>Disk</InstallFrom>
22 <UpdateEnabled>false</UpdateEnabled>
23 <UpdateMode>Foreground</UpdateMode>
24 <UpdateInterval>7</UpdateInterval>
25 <UpdateIntervalUnits>Days</UpdateIntervalUnits>
26 <UpdatePeriodically>false</UpdatePeriodically>
27 <UpdateRequired>false</UpdateRequired>
28 <MapFileExtensions>true</MapFileExtensions>
29 <ApplicationRevision>0</ApplicationRevision>
30 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
31 <IsWebBootstrapper>false</IsWebBootstrapper>
32 <UseApplicationTrust>false</UseApplicationTrust>
33 <BootstrapperEnabled>true</BootstrapperEnabled>
35 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
36 <DebugSymbols>true</DebugSymbols>
37 <DebugType>full</DebugType>
38 <Optimize>false</Optimize>
39 <OutputPath>Bin\Debug\</OutputPath>
40 <DefineConstants>TRACE;DEBUG</DefineConstants>
41 <ErrorReport>prompt</ErrorReport>
42 <WarningLevel>4</WarningLevel>
43 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
44 <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
46 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
47 <DebugType>none</DebugType>
48 <Optimize>true</Optimize>
49 <OutputPath>Bin\Release\</OutputPath>
50 <DefineConstants>TRACE</DefineConstants>
51 <ErrorReport>prompt</ErrorReport>
52 <WarningLevel>4</WarningLevel>
53 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
56 <Reference Include="System" />
57 <Reference Include="System.Management" />
60 <Compile Include="Hardware\ATI\ADL.cs" />
61 <Compile Include="Hardware\ATI\ATIGPU.cs" />
62 <Compile Include="Hardware\ATI\ATIGroup.cs" />
63 <Compile Include="Hardware\Computer.cs" />
64 <Compile Include="Hardware\CPU\GenericCPU.cs" />
65 <Compile Include="Hardware\CPU\AMD0FCPU.cs" />
66 <Compile Include="Hardware\CPU\AMD10CPU.cs" />
67 <Compile Include="Hardware\CPU\CPUGroup.cs" />
68 <Compile Include="Hardware\CPU\CPUID.cs" />
69 <Compile Include="Hardware\CPU\CPULoad.cs" />
70 <Compile Include="Hardware\CPU\IntelCPU.cs" />
71 <Compile Include="Hardware\Hardware.cs" />
72 <Compile Include="Hardware\HDD\HDD.cs" />
73 <Compile Include="Hardware\HDD\HDDGroup.cs" />
74 <Compile Include="Hardware\HDD\SMART.cs" />
75 <Compile Include="Hardware\Heatmaster\Heatmaster.cs" />
76 <Compile Include="Hardware\Heatmaster\HeatmasterGroup.cs" />
77 <Compile Include="Hardware\IComputer.cs" />
78 <Compile Include="Hardware\Identifier.cs" />
79 <Compile Include="Hardware\IElement.cs" />
80 <Compile Include="Hardware\IGroup.cs" />
81 <Compile Include="Hardware\IHardware.cs" />
82 <Compile Include="Hardware\IParameter.cs" />
83 <Compile Include="Hardware\ISensor.cs" />
84 <Compile Include="Hardware\IVisitor.cs" />
85 <Compile Include="Hardware\LPC\Chip.cs" />
86 <Compile Include="Hardware\LPC\F718XX.cs" />
87 <Compile Include="Hardware\LPC\ISuperIO.cs" />
88 <Compile Include="Hardware\LPC\IT87XX.cs" />
89 <Compile Include="Hardware\LPC\LMSensors.cs" />
90 <Compile Include="Hardware\LPC\LPCIO.cs" />
91 <Compile Include="Hardware\LPC\W836XX.cs" />
92 <Compile Include="Hardware\Mainboard\Mainboard.cs" />
93 <Compile Include="Hardware\Mainboard\MainboardGroup.cs" />
94 <Compile Include="Hardware\Mainboard\Manufacturer.cs" />
95 <Compile Include="Hardware\Mainboard\Model.cs" />
96 <Compile Include="Hardware\Mainboard\SMBIOS.cs" />
97 <Compile Include="Hardware\Mainboard\SuperIOHardware.cs" />
98 <Compile Include="Hardware\Nvidia\NVAPI.cs" />
99 <Compile Include="Hardware\Nvidia\NvidiaGPU.cs" />
100 <Compile Include="Hardware\Nvidia\NvidiaGroup.cs" />
101 <Compile Include="Hardware\Parameter.cs" />
102 <Compile Include="Hardware\Sensor.cs" />
103 <Compile Include="Hardware\SensorVisitor.cs" />
104 <Compile Include="Hardware\TBalancer\FTD2XX.cs" />
105 <Compile Include="Hardware\TBalancer\TBalancer.cs" />
106 <Compile Include="Hardware\TBalancer\TBalancerGroup.cs" />
107 <Compile Include="Hardware\WinRing0.cs" />
108 <Compile Include="Hardware\ISettings.cs" />
109 <Compile Include="Hardware\HexStringArray.cs" />
110 <Compile Include="Collections\IReadOnlyArray.cs" />
111 <Compile Include="Collections\ListSet.cs" />
112 <Compile Include="Hardware\PInvokeDelegateFactory.cs" />
113 <Compile Include="Collections\ReadOnlyArray.cs" />
114 <Compile Include="Properties\AssemblyLibInfo.cs" />
115 <Compile Include="Properties\AssemblyVersion.cs" />
118 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
119 <Visible>False</Visible>
120 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
121 <Install>false</Install>
122 </BootstrapperPackage>
123 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
124 <Visible>False</Visible>
125 <ProductName>.NET Framework 3.5 SP1</ProductName>
126 <Install>true</Install>
127 </BootstrapperPackage>
128 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
129 <Visible>False</Visible>
130 <ProductName>Windows Installer 3.1</ProductName>
131 <Install>true</Install>
132 </BootstrapperPackage>
135 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
136 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
137 Other similar extension points exist, see Microsoft.Common.targets.
138 <Target Name="BeforeBuild">
140 <Target Name="AfterBuild">