OpenHardwareMonitor.csproj
author moel.mich
Tue, 25 May 2010 22:33:03 +0000
changeset 128 cea5477b4d72
parent 126 2354fdb91ac4
child 130 80065ab20b84
permissions -rw-r--r--
Added an event handler to save the configuration when the user logs off without closing the application first (http://blogs.msdn.com/b/oldnewthing/archive/2008/04/21/8413175.aspx), because FormClosed is not called in that case.
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
     3   <PropertyGroup>
     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>
    18   </PropertyGroup>
    19   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    20     <DebugSymbols>true</DebugSymbols>
    21     <DebugType>full</DebugType>
    22     <Optimize>false</Optimize>
    23     <OutputPath>Bin\Debug\</OutputPath>
    24     <DefineConstants>TRACE;DEBUG</DefineConstants>
    25     <ErrorReport>prompt</ErrorReport>
    26     <WarningLevel>4</WarningLevel>
    27     <UseVSHostingProcess>false</UseVSHostingProcess>
    28   </PropertyGroup>
    29   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    30     <DebugType>none</DebugType>
    31     <Optimize>true</Optimize>
    32     <OutputPath>Bin\Release\</OutputPath>
    33     <DefineConstants>TRACE</DefineConstants>
    34     <ErrorReport>prompt</ErrorReport>
    35     <WarningLevel>4</WarningLevel>
    36     <UseVSHostingProcess>false</UseVSHostingProcess>
    37     <DebugSymbols>false</DebugSymbols>
    38   </PropertyGroup>
    39   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Merge|AnyCPU' ">
    40     <OutputPath>bin\Merge\</OutputPath>
    41     <DefineConstants>TRACE</DefineConstants>
    42     <Optimize>true</Optimize>
    43     <PlatformTarget>AnyCPU</PlatformTarget>
    44     <UseVSHostingProcess>false</UseVSHostingProcess>
    45     <ErrorReport>prompt</ErrorReport>
    46     <OutputType>Module</OutputType>
    47   </PropertyGroup>
    48   <ItemGroup>
    49     <Reference Include="Aga.Controls, Version=1.7.0.0, Culture=neutral, PublicKeyToken=fcc90fbf924463a3, processorArchitecture=MSIL">
    50       <SpecificVersion>False</SpecificVersion>
    51       <HintPath>External\Aga.Controls.dll</HintPath>
    52     </Reference>
    53     <Reference Include="System" />
    54     <Reference Include="System.Configuration" />
    55     <Reference Include="System.Drawing" />
    56     <Reference Include="System.Management" />
    57     <Reference Include="System.Web" />
    58     <Reference Include="System.Windows.Forms" />
    59   </ItemGroup>
    60   <ItemGroup>
    61     <Compile Include="GUI\CrashReportForm.cs">
    62       <SubType>Form</SubType>
    63     </Compile>
    64     <Compile Include="GUI\CrashReportForm.Designer.cs">
    65       <DependentUpon>CrashReportForm.cs</DependentUpon>
    66     </Compile>
    67     <Compile Include="GUI\Node.cs" />
    68     <Compile Include="GUI\ParameterForm.cs">
    69       <SubType>Form</SubType>
    70     </Compile>
    71     <Compile Include="GUI\ParameterForm.Designer.cs">
    72       <DependentUpon>ParameterForm.cs</DependentUpon>
    73     </Compile>
    74     <Compile Include="GUI\SensorNotifyIcon.cs" />
    75     <Compile Include="GUI\SensorSystemTray.cs" />
    76     <Compile Include="GUI\StartupManager.cs" />
    77     <Compile Include="GUI\TaskScheduler.cs" />
    78     <Compile Include="GUI\TreeModel.cs" />
    79     <Compile Include="GUI\TypeNode.cs" />
    80     <Compile Include="GUI\UnitManager.cs" />
    81     <Compile Include="GUI\UpdateVisitor.cs" />
    82     <Compile Include="Hardware\CPU\AMD10CPU.cs" />
    83     <Compile Include="Hardware\CPU\AMD0FCPU.cs" />
    84     <Compile Include="Hardware\CPU\CPUID.cs" />
    85     <Compile Include="Hardware\CPU\CPULoad.cs" />
    86     <Compile Include="Hardware\Hardware.cs" />
    87     <Compile Include="Hardware\HDD\HDD.cs" />
    88     <Compile Include="Hardware\HDD\HDDGroup.cs" />
    89     <Compile Include="Hardware\HDD\SMART.cs" />
    90     <Compile Include="Hardware\IComputer.cs" />
    91     <Compile Include="Hardware\Identifier.cs" />
    92     <Compile Include="Hardware\IElement.cs" />
    93     <Compile Include="Hardware\IVisitor.cs" />
    94     <Compile Include="Hardware\IParameter.cs" />
    95     <Compile Include="Hardware\LPC\Chip.cs" />
    96     <Compile Include="Hardware\LPC\F718XX.cs" />
    97     <Compile Include="Hardware\LPC\LPCHardware.cs" />
    98     <Compile Include="Hardware\Mainboard\Mainboard.cs" />
    99     <Compile Include="Hardware\Mainboard\MainboardGroup.cs" />
   100     <Compile Include="Hardware\Mainboard\Model.cs" />
   101     <Compile Include="Hardware\Mainboard\Manufacturer.cs" />
   102     <Compile Include="Hardware\Parameter.cs" />
   103     <Compile Include="Hardware\Mainboard\SMBIOS.cs" />
   104     <Compile Include="Hardware\LPC\W836XX.cs" />
   105     <Compile Include="Hardware\Computer.cs" />
   106     <Compile Include="Hardware\TBalancer\FTD2XX.cs" />
   107     <Compile Include="Properties\AssemblyInfo.cs" />
   108     <Compile Include="GUI\AboutBox.cs">
   109       <SubType>Form</SubType>
   110     </Compile>
   111     <Compile Include="GUI\AboutBox.Designer.cs">
   112       <DependentUpon>AboutBox.cs</DependentUpon>
   113     </Compile>
   114     <Compile Include="Hardware\ATI\ADL.cs" />
   115     <Compile Include="Hardware\ATI\ATIGroup.cs" />
   116     <Compile Include="Hardware\ATI\ATIGPU.cs" />
   117     <Compile Include="Utilities\Config.cs" />
   118     <Compile Include="Utilities\EmbeddedResources.cs" />
   119     <Compile Include="GUI\HardwareNode.cs" />
   120     <Compile Include="Hardware\IGroup.cs" />
   121     <Compile Include="Hardware\IHardware.cs" />
   122     <Compile Include="Hardware\ISensor.cs" />
   123     <Compile Include="Hardware\LPC\IT87XX.cs" />
   124     <Compile Include="Hardware\LPC\LPCIO.cs" />
   125     <Compile Include="GUI\MainForm.cs">
   126       <SubType>Form</SubType>
   127     </Compile>
   128     <Compile Include="GUI\MainForm.Designer.cs">
   129       <DependentUpon>MainForm.cs</DependentUpon>
   130     </Compile>
   131     <Compile Include="Hardware\Nvidia\NVAPI.cs" />
   132     <Compile Include="Hardware\Nvidia\NvidiaGPU.cs" />
   133     <Compile Include="Hardware\Nvidia\NvidiaGroup.cs" />
   134     <Compile Include="Utilities\HexStringArray.cs" />
   135     <Compile Include="Utilities\IconFactory.cs" />
   136     <Compile Include="Utilities\IReadOnlyArray.cs" />
   137     <Compile Include="Utilities\ListSet.cs" />
   138     <Compile Include="Utilities\PInvokeDelegateFactory.cs" />
   139     <Compile Include="GUI\PlotPanel.cs">
   140       <SubType>UserControl</SubType>
   141     </Compile>
   142     <Compile Include="GUI\PlotPanel.Designer.cs">
   143       <DependentUpon>PlotPanel.cs</DependentUpon>
   144     </Compile>
   145     <Compile Include="Program.cs" />
   146     <Compile Include="Hardware\CPU\IntelCPU.cs" />
   147     <Compile Include="Hardware\CPU\CPUGroup.cs" />
   148     <Compile Include="Hardware\Sensor.cs" />
   149     <Compile Include="GUI\SensorNode.cs" />
   150     <Compile Include="Hardware\TBalancer\TBalancer.cs" />
   151     <Compile Include="Hardware\TBalancer\TBalancerGroup.cs" />
   152     <Compile Include="Hardware\WinRing0.cs" />
   153     <Compile Include="Utilities\ReadOnlyArray.cs" />
   154   </ItemGroup>
   155   <ItemGroup>
   156     <EmbeddedResource Include="GUI\AboutBox.resx">
   157       <DependentUpon>AboutBox.cs</DependentUpon>
   158       <SubType>Designer</SubType>
   159     </EmbeddedResource>
   160     <EmbeddedResource Include="GUI\MainForm.resx">
   161       <DependentUpon>MainForm.cs</DependentUpon>
   162       <SubType>Designer</SubType>
   163     </EmbeddedResource>
   164     <EmbeddedResource Include="GUI\PlotPanel.resx">
   165       <DependentUpon>PlotPanel.cs</DependentUpon>
   166       <SubType>Designer</SubType>
   167     </EmbeddedResource>
   168     <EmbeddedResource Include="Resources\ati.png">
   169     </EmbeddedResource>
   170     <EmbeddedResource Include="Resources\bigng.png" />
   171     <EmbeddedResource Include="Resources\clock.png" />
   172     <EmbeddedResource Include="Resources\computer.png" />
   173     <EmbeddedResource Include="Resources\cpu.png" />
   174     <EmbeddedResource Include="Resources\fan.png" />
   175     <EmbeddedResource Include="Resources\temperature.png" />
   176   </ItemGroup>
   177   <ItemGroup>
   178     <EmbeddedResource Include="Resources\chip.png" />
   179     <EmbeddedResource Include="Resources\hdd.png" />
   180     <EmbeddedResource Include="Resources\load.png" />
   181     <EmbeddedResource Include="Resources\voltage.png" />
   182     <EmbeddedResource Include="Resources\nvidia.png" />
   183   </ItemGroup>
   184   <ItemGroup>
   185     <None Include="Resources\app.manifest" />
   186     <None Include="Resources\icon.ico" />
   187   </ItemGroup>
   188   <ItemGroup>
   189     <EmbeddedResource Include="Resources\smallicon.ico" />
   190   </ItemGroup>
   191   <ItemGroup>
   192     <EmbeddedResource Include="GUI\ParameterForm.resx">
   193       <DependentUpon>ParameterForm.cs</DependentUpon>
   194     </EmbeddedResource>
   195     <EmbeddedResource Include="Resources\flow.png" />
   196   </ItemGroup>
   197   <ItemGroup>
   198     <EmbeddedResource Include="GUI\CrashReportForm.resx">
   199       <DependentUpon>CrashReportForm.cs</DependentUpon>
   200     </EmbeddedResource>
   201     <EmbeddedResource Include="Resources\mainboard.png" />
   202   </ItemGroup>
   203   <ItemGroup>
   204     <EmbeddedResource Include="Resources\control.png" />
   205   </ItemGroup>
   206   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   207   <ProjectExtensions>
   208     <VisualStudio AllowExistingFolder="true" />
   209   </ProjectExtensions>
   210   <PropertyGroup>
   211     <PreBuildEvent>
   212     </PreBuildEvent>
   213     <PostBuildEvent>copy "$(ProjectDir)External\*.*" "$(TargetDir)"
   214 copy "$(ProjectDir)Licenses\*.*" "$(TargetDir)"</PostBuildEvent>
   215   </PropertyGroup>
   216 </Project>