Changed the project files to Visual Studio 2010. Fixed some Code Analysis 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>
45 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
46 <DebugType>none</DebugType>
47 <Optimize>true</Optimize>
48 <OutputPath>Bin\Release\</OutputPath>
49 <DefineConstants>TRACE</DefineConstants>
50 <ErrorReport>prompt</ErrorReport>
51 <WarningLevel>4</WarningLevel>
52 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
55 <Reference Include="System" />
56 <Reference Include="System.Management" />
59 <Compile Include="Hardware\ATI\ADL.cs" />
60 <Compile Include="Hardware\ATI\ATIGPU.cs" />
61 <Compile Include="Hardware\ATI\ATIGroup.cs" />
62 <Compile Include="Hardware\Computer.cs" />
63 <Compile Include="Hardware\CPU\AMD0FCPU.cs" />
64 <Compile Include="Hardware\CPU\AMD10CPU.cs" />
65 <Compile Include="Hardware\CPU\CPUGroup.cs" />
66 <Compile Include="Hardware\CPU\CPUID.cs" />
67 <Compile Include="Hardware\CPU\CPULoad.cs" />
68 <Compile Include="Hardware\CPU\IntelCPU.cs" />
69 <Compile Include="Hardware\Hardware.cs" />
70 <Compile Include="Hardware\HDD\HDD.cs" />
71 <Compile Include="Hardware\HDD\HDDGroup.cs" />
72 <Compile Include="Hardware\HDD\SMART.cs" />
73 <Compile Include="Hardware\IComputer.cs" />
74 <Compile Include="Hardware\Identifier.cs" />
75 <Compile Include="Hardware\IElement.cs" />
76 <Compile Include="Hardware\IGroup.cs" />
77 <Compile Include="Hardware\IHardware.cs" />
78 <Compile Include="Hardware\IParameter.cs" />
79 <Compile Include="Hardware\ISensor.cs" />
80 <Compile Include="Hardware\IVisitor.cs" />
81 <Compile Include="Hardware\LPC\Chip.cs" />
82 <Compile Include="Hardware\LPC\F718XX.cs" />
83 <Compile Include="Hardware\LPC\ISuperIO.cs" />
84 <Compile Include="Hardware\LPC\IT87XX.cs" />
85 <Compile Include="Hardware\LPC\LMSensors.cs" />
86 <Compile Include="Hardware\LPC\LPCIO.cs" />
87 <Compile Include="Hardware\LPC\W836XX.cs" />
88 <Compile Include="Hardware\Mainboard\Mainboard.cs" />
89 <Compile Include="Hardware\Mainboard\MainboardGroup.cs" />
90 <Compile Include="Hardware\Mainboard\Manufacturer.cs" />
91 <Compile Include="Hardware\Mainboard\Model.cs" />
92 <Compile Include="Hardware\Mainboard\SMBIOS.cs" />
93 <Compile Include="Hardware\Mainboard\SuperIOHardware.cs" />
94 <Compile Include="Hardware\Nvidia\NVAPI.cs" />
95 <Compile Include="Hardware\Nvidia\NvidiaGPU.cs" />
96 <Compile Include="Hardware\Nvidia\NvidiaGroup.cs" />
97 <Compile Include="Hardware\Parameter.cs" />
98 <Compile Include="Hardware\Sensor.cs" />
99 <Compile Include="Hardware\SensorVisitor.cs" />
100 <Compile Include="Hardware\TBalancer\FTD2XX.cs" />
101 <Compile Include="Hardware\TBalancer\TBalancer.cs" />
102 <Compile Include="Hardware\TBalancer\TBalancerGroup.cs" />
103 <Compile Include="Hardware\WinRing0.cs" />
104 <Compile Include="Hardware\ISettings.cs" />
105 <Compile Include="Hardware\HexStringArray.cs" />
106 <Compile Include="Collections\IReadOnlyArray.cs" />
107 <Compile Include="Collections\ListSet.cs" />
108 <Compile Include="Hardware\PInvokeDelegateFactory.cs" />
109 <Compile Include="Collections\ReadOnlyArray.cs" />
110 <Compile Include="Properties\AssemblyLibInfo.cs" />
111 <Compile Include="Properties\AssemblyVersion.cs" />
114 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
115 <Visible>False</Visible>
116 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
117 <Install>false</Install>
118 </BootstrapperPackage>
119 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
120 <Visible>False</Visible>
121 <ProductName>.NET Framework 3.5 SP1</ProductName>
122 <Install>true</Install>
123 </BootstrapperPackage>
124 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
125 <Visible>False</Visible>
126 <ProductName>Windows Installer 3.1</ProductName>
127 <Install>true</Install>
128 </BootstrapperPackage>
130 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
131 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
132 Other similar extension points exist, see Microsoft.Common.targets.
133 <Target Name="BeforeBuild">
135 <Target Name="AfterBuild">