OpenHardwareMonitor.csproj
author moel.mich
Thu, 11 Nov 2010 21:22:24 +0000
changeset 241 52007c404f32
parent 225 04dbd92d1116
child 295 a1c06df9928d
permissions -rw-r--r--
Fixed a problem, where the MainForm location and size was lost when the application is started minimized and exited without ever showing the form. This caused MainForm_Load to be never called (location and size was not loaded), but the default size and location were still saved. The new implementation only saves the location and size when one of the two is changed.
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
     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     <FileUpgradeFlags>
    19     </FileUpgradeFlags>
    20     <OldToolsVersion>3.5</OldToolsVersion>
    21     <UpgradeBackupLocation />
    22     <PublishUrl>publish\</PublishUrl>
    23     <Install>true</Install>
    24     <InstallFrom>Disk</InstallFrom>
    25     <UpdateEnabled>false</UpdateEnabled>
    26     <UpdateMode>Foreground</UpdateMode>
    27     <UpdateInterval>7</UpdateInterval>
    28     <UpdateIntervalUnits>Days</UpdateIntervalUnits>
    29     <UpdatePeriodically>false</UpdatePeriodically>
    30     <UpdateRequired>false</UpdateRequired>
    31     <MapFileExtensions>true</MapFileExtensions>
    32     <ApplicationRevision>0</ApplicationRevision>
    33     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
    34     <IsWebBootstrapper>false</IsWebBootstrapper>
    35     <UseApplicationTrust>false</UseApplicationTrust>
    36     <BootstrapperEnabled>true</BootstrapperEnabled>
    37   </PropertyGroup>
    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>false</UseVSHostingProcess>
    47     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    48   </PropertyGroup>
    49   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    50     <DebugType>none</DebugType>
    51     <Optimize>true</Optimize>
    52     <OutputPath>Bin\Release\</OutputPath>
    53     <DefineConstants>TRACE</DefineConstants>
    54     <ErrorReport>prompt</ErrorReport>
    55     <WarningLevel>4</WarningLevel>
    56     <UseVSHostingProcess>false</UseVSHostingProcess>
    57     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    58   </PropertyGroup>
    59   <ItemGroup>
    60     <Reference Include="System" />
    61     <Reference Include="System.Configuration.Install" />
    62     <Reference Include="System.Drawing" />
    63     <Reference Include="System.Management" />
    64     <Reference Include="System.Windows.Forms" />
    65     <Reference Include="System.Xml" />
    66     <Reference Include="Aga.Controls, Version=1.7.0.0, Culture=neutral, PublicKeyToken=fcc90fbf924463a3">
    67       <SpecificVersion>False</SpecificVersion>
    68       <HintPath>External\Aga.Controls.dll</HintPath>
    69     </Reference>
    70   </ItemGroup>
    71   <ItemGroup>
    72     <Compile Include="GUI\GadgetWindow.cs" />
    73     <Compile Include="GUI\Gadget.cs" />
    74     <Compile Include="GUI\HardwareTypeImage.cs" />
    75     <Compile Include="GUI\PlotPanel.cs">
    76       <SubType>UserControl</SubType>
    77     </Compile>
    78     <Compile Include="GUI\ReportForm.cs">
    79       <SubType>Form</SubType>
    80     </Compile>
    81     <Compile Include="GUI\ReportForm.Designer.cs">
    82       <DependentUpon>ReportForm.cs</DependentUpon>
    83     </Compile>
    84     <Compile Include="GUI\CrashForm.cs">
    85       <SubType>Form</SubType>
    86     </Compile>
    87     <Compile Include="GUI\CrashForm.Designer.cs">
    88       <DependentUpon>CrashForm.cs</DependentUpon>
    89     </Compile>
    90     <Compile Include="GUI\Node.cs" />
    91     <Compile Include="GUI\ParameterForm.cs">
    92       <SubType>Form</SubType>
    93     </Compile>
    94     <Compile Include="GUI\ParameterForm.Designer.cs">
    95       <DependentUpon>ParameterForm.cs</DependentUpon>
    96     </Compile>
    97     <Compile Include="GUI\SensorGadget.cs" />
    98     <Compile Include="GUI\SensorNotifyIcon.cs" />
    99     <Compile Include="GUI\ShowDesktop.cs" />
   100     <Compile Include="GUI\SplitContainerAdv.cs">
   101       <SubType>Component</SubType>
   102     </Compile>
   103     <Compile Include="GUI\SystemTray.cs" />
   104     <Compile Include="GUI\StartupManager.cs" />
   105     <Compile Include="GUI\TaskScheduler.cs" />
   106     <Compile Include="GUI\TreeModel.cs" />
   107     <Compile Include="GUI\TypeNode.cs" />
   108     <Compile Include="GUI\UnitManager.cs" />
   109     <Compile Include="GUI\UpdateVisitor.cs" />
   110     <Compile Include="GUI\UserOption.cs" />
   111     <Compile Include="Properties\AssemblyVersion.cs" />
   112     <Compile Include="Utilities\PersistentSettings.cs" />
   113     <Compile Include="Properties\AssemblyInfo.cs" />
   114     <Compile Include="GUI\AboutBox.cs">
   115       <SubType>Form</SubType>
   116     </Compile>
   117     <Compile Include="GUI\AboutBox.Designer.cs">
   118       <DependentUpon>AboutBox.cs</DependentUpon>
   119     </Compile>
   120     <Compile Include="GUI\HardwareNode.cs" />
   121     <Compile Include="GUI\MainForm.cs">
   122       <SubType>Form</SubType>
   123     </Compile>
   124     <Compile Include="GUI\MainForm.Designer.cs">
   125       <DependentUpon>MainForm.cs</DependentUpon>
   126     </Compile>
   127     <Compile Include="Program.cs" />
   128     <Compile Include="GUI\SensorNode.cs" />
   129     <Compile Include="Utilities\EmbeddedResources.cs" />
   130     <Compile Include="Utilities\IconFactory.cs" />
   131     <Compile Include="WMI\Hardware.cs" />
   132     <Compile Include="WMI\IWmiObject.cs" />
   133     <Compile Include="WMI\Sensor.cs" />
   134     <Compile Include="WMI\WmiProvider.cs">
   135       <SubType>Component</SubType>
   136     </Compile>
   137   </ItemGroup>
   138   <ItemGroup>
   139     <EmbeddedResource Include="GUI\AboutBox.resx">
   140       <DependentUpon>AboutBox.cs</DependentUpon>
   141       <SubType>Designer</SubType>
   142     </EmbeddedResource>
   143     <EmbeddedResource Include="Resources\ati.png">
   144     </EmbeddedResource>
   145     <EmbeddedResource Include="Resources\bigng.png" />
   146     <EmbeddedResource Include="Resources\clock.png" />
   147     <EmbeddedResource Include="Resources\computer.png" />
   148     <EmbeddedResource Include="Resources\cpu.png" />
   149     <EmbeddedResource Include="Resources\fan.png" />
   150     <EmbeddedResource Include="Resources\temperature.png" />
   151   </ItemGroup>
   152   <ItemGroup>
   153     <EmbeddedResource Include="Resources\chip.png" />
   154     <EmbeddedResource Include="Resources\hdd.png" />
   155     <EmbeddedResource Include="Resources\load.png" />
   156     <EmbeddedResource Include="Resources\voltage.png" />
   157     <EmbeddedResource Include="Resources\nvidia.png" />
   158   </ItemGroup>
   159   <ItemGroup>
   160     <None Include="App.config" />
   161     <None Include="Resources\app.manifest" />
   162     <None Include="Resources\icon.ico" />
   163   </ItemGroup>
   164   <ItemGroup>
   165     <EmbeddedResource Include="Resources\smallicon.ico" />
   166   </ItemGroup>
   167   <ItemGroup>
   168     <EmbeddedResource Include="GUI\ParameterForm.resx">
   169       <DependentUpon>ParameterForm.cs</DependentUpon>
   170     </EmbeddedResource>
   171     <EmbeddedResource Include="Resources\flow.png" />
   172   </ItemGroup>
   173   <ItemGroup>
   174     <EmbeddedResource Include="GUI\CrashForm.resx">
   175       <DependentUpon>CrashForm.cs</DependentUpon>
   176     </EmbeddedResource>
   177     <EmbeddedResource Include="Resources\mainboard.png" />
   178   </ItemGroup>
   179   <ItemGroup>
   180     <EmbeddedResource Include="GUI\MainForm.resx">
   181       <DependentUpon>MainForm.cs</DependentUpon>
   182     </EmbeddedResource>
   183     <EmbeddedResource Include="GUI\ReportForm.resx">
   184       <DependentUpon>ReportForm.cs</DependentUpon>
   185     </EmbeddedResource>
   186     <EmbeddedResource Include="Resources\control.png" />
   187   </ItemGroup>
   188   <ItemGroup>
   189     <ProjectReference Include="OpenHardwareMonitorLib.csproj">
   190       <Project>{B0397530-545A-471D-BB74-027AE456DF1A}</Project>
   191       <Name>OpenHardwareMonitorLib</Name>
   192     </ProjectReference>
   193   </ItemGroup>
   194   <ItemGroup>
   195     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
   196       <Visible>False</Visible>
   197       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
   198       <Install>false</Install>
   199     </BootstrapperPackage>
   200     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
   201       <Visible>False</Visible>
   202       <ProductName>.NET Framework 3.5 SP1</ProductName>
   203       <Install>true</Install>
   204     </BootstrapperPackage>
   205     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
   206       <Visible>False</Visible>
   207       <ProductName>Windows Installer 3.1</ProductName>
   208       <Install>true</Install>
   209     </BootstrapperPackage>
   210   </ItemGroup>
   211   <ItemGroup>
   212     <EmbeddedResource Include="Resources\barback.png" />
   213     <EmbeddedResource Include="Resources\barblue.png" />
   214     <EmbeddedResource Include="Resources\gadget.png" />
   215   </ItemGroup>
   216   <ItemGroup>
   217     <EmbeddedResource Include="Resources\level.png" />
   218   </ItemGroup>
   219   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   220   <ProjectExtensions>
   221     <VisualStudio AllowExistingFolder="true" />
   222   </ProjectExtensions>
   223   <PropertyGroup>
   224     <PreBuildEvent>
   225     </PreBuildEvent>
   226     <PostBuildEvent>copy "$(ProjectDir)External\*.*" "$(TargetDir)"
   227 copy "$(ProjectDir)Licenses\*.*" "$(TargetDir)"</PostBuildEvent>
   228   </PropertyGroup>
   229 </Project>