Fixed some problems when compiling in Mono and running on Linux.
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\AMDCPU.cs" />
65 <Compile Include="Hardware\CPU\GenericCPU.cs" />
66 <Compile Include="Hardware\CPU\AMD0FCPU.cs" />
67 <Compile Include="Hardware\CPU\AMD10CPU.cs" />
68 <Compile Include="Hardware\CPU\CPUGroup.cs" />
69 <Compile Include="Hardware\CPU\CPUID.cs" />
70 <Compile Include="Hardware\CPU\CPULoad.cs" />
71 <Compile Include="Hardware\CPU\IntelCPU.cs" />
72 <Compile Include="Hardware\Hardware.cs" />
73 <Compile Include="Hardware\HDD\HDD.cs" />
74 <Compile Include="Hardware\HDD\HDDGroup.cs" />
75 <Compile Include="Hardware\HDD\SMART.cs" />
76 <Compile Include="Hardware\Heatmaster\Heatmaster.cs" />
77 <Compile Include="Hardware\Heatmaster\HeatmasterGroup.cs" />
78 <Compile Include="Hardware\IComputer.cs" />
79 <Compile Include="Hardware\Identifier.cs" />
80 <Compile Include="Hardware\IElement.cs" />
81 <Compile Include="Hardware\IGroup.cs" />
82 <Compile Include="Hardware\IHardware.cs" />
83 <Compile Include="Hardware\IParameter.cs" />
84 <Compile Include="Hardware\ISensor.cs" />
85 <Compile Include="Hardware\IVisitor.cs" />
86 <Compile Include="Hardware\LPC\Chip.cs" />
87 <Compile Include="Hardware\LPC\F718XX.cs" />
88 <Compile Include="Hardware\LPC\ISuperIO.cs" />
89 <Compile Include="Hardware\LPC\IT87XX.cs" />
90 <Compile Include="Hardware\LPC\LMSensors.cs" />
91 <Compile Include="Hardware\LPC\LPCIO.cs" />
92 <Compile Include="Hardware\LPC\W836XX.cs" />
93 <Compile Include="Hardware\Mainboard\Mainboard.cs" />
94 <Compile Include="Hardware\Mainboard\MainboardGroup.cs" />
95 <Compile Include="Hardware\Mainboard\Manufacturer.cs" />
96 <Compile Include="Hardware\Mainboard\Model.cs" />
97 <Compile Include="Hardware\Mainboard\SMBIOS.cs" />
98 <Compile Include="Hardware\Mainboard\SuperIOHardware.cs" />
99 <Compile Include="Hardware\Nvidia\NVAPI.cs" />
100 <Compile Include="Hardware\Nvidia\NvidiaGPU.cs" />
101 <Compile Include="Hardware\Nvidia\NvidiaGroup.cs" />
102 <Compile Include="Hardware\Parameter.cs" />
103 <Compile Include="Hardware\Sensor.cs" />
104 <Compile Include="Hardware\SensorVisitor.cs" />
105 <Compile Include="Hardware\TBalancer\FTD2XX.cs" />
106 <Compile Include="Hardware\TBalancer\TBalancer.cs" />
107 <Compile Include="Hardware\TBalancer\TBalancerGroup.cs" />
108 <Compile Include="Hardware\WinRing0.cs" />
109 <Compile Include="Hardware\ISettings.cs" />
110 <Compile Include="Hardware\HexStringArray.cs" />
111 <Compile Include="Collections\IReadOnlyArray.cs" />
112 <Compile Include="Collections\ListSet.cs" />
113 <Compile Include="Hardware\PInvokeDelegateFactory.cs" />
114 <Compile Include="Collections\ReadOnlyArray.cs" />
115 <Compile Include="Properties\AssemblyLibInfo.cs" />
116 <Compile Include="Properties\AssemblyVersion.cs" />
119 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
120 <Visible>False</Visible>
121 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
122 <Install>false</Install>
123 </BootstrapperPackage>
124 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
125 <Visible>False</Visible>
126 <ProductName>.NET Framework 3.5 SP1</ProductName>
127 <Install>true</Install>
128 </BootstrapperPackage>
129 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
130 <Visible>False</Visible>
131 <ProductName>Windows Installer 3.1</ProductName>
132 <Install>true</Install>
133 </BootstrapperPackage>
136 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
137 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
138 Other similar extension points exist, see Microsoft.Common.targets.
139 <Target Name="BeforeBuild">
141 <Target Name="AfterBuild">