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.
moel@139
     1
<?xml version="1.0" encoding="utf-8"?>
moel@166
     2
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
moel@1
     3
  <PropertyGroup>
moel@1
     4
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
moel@1
     5
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
moel@1
     6
    <ProjectGuid>{F5E0C1F7-9E9B-46F2-AC88-8C9C1C923880}</ProjectGuid>
moel@63
     7
    <ProductVersion>9.0.30729</ProductVersion>
moel@1
     8
    <SchemaVersion>2.0</SchemaVersion>
moel@1
     9
    <OutputType>WinExe</OutputType>
moel@1
    10
    <NoStandardLibraries>false</NoStandardLibraries>
moel@1
    11
    <AssemblyName>OpenHardwareMonitor</AssemblyName>
moel@1
    12
    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
moel@1
    13
    <FileAlignment>512</FileAlignment>
moel@1
    14
    <RootNamespace>OpenHardwareMonitor</RootNamespace>
moel@1
    15
    <ApplicationIcon>Resources\icon.ico</ApplicationIcon>
moel@26
    16
    <ApplicationManifest>Resources\app.manifest</ApplicationManifest>
moel@26
    17
    <StartupObject>OpenHardwareMonitor.Program</StartupObject>
moel@166
    18
    <FileUpgradeFlags>
moel@166
    19
    </FileUpgradeFlags>
moel@166
    20
    <OldToolsVersion>3.5</OldToolsVersion>
moel@166
    21
    <UpgradeBackupLocation />
moel@166
    22
    <PublishUrl>publish\</PublishUrl>
moel@166
    23
    <Install>true</Install>
moel@166
    24
    <InstallFrom>Disk</InstallFrom>
moel@166
    25
    <UpdateEnabled>false</UpdateEnabled>
moel@166
    26
    <UpdateMode>Foreground</UpdateMode>
moel@166
    27
    <UpdateInterval>7</UpdateInterval>
moel@166
    28
    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
moel@166
    29
    <UpdatePeriodically>false</UpdatePeriodically>
moel@166
    30
    <UpdateRequired>false</UpdateRequired>
moel@166
    31
    <MapFileExtensions>true</MapFileExtensions>
moel@166
    32
    <ApplicationRevision>0</ApplicationRevision>
moel@166
    33
    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
moel@166
    34
    <IsWebBootstrapper>false</IsWebBootstrapper>
moel@166
    35
    <UseApplicationTrust>false</UseApplicationTrust>
moel@166
    36
    <BootstrapperEnabled>true</BootstrapperEnabled>
moel@1
    37
  </PropertyGroup>
moel@1
    38
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
moel@1
    39
    <DebugSymbols>true</DebugSymbols>
moel@1
    40
    <DebugType>full</DebugType>
moel@1
    41
    <Optimize>false</Optimize>
moel@1
    42
    <OutputPath>Bin\Debug\</OutputPath>
moel@1
    43
    <DefineConstants>TRACE;DEBUG</DefineConstants>
moel@1
    44
    <ErrorReport>prompt</ErrorReport>
moel@1
    45
    <WarningLevel>4</WarningLevel>
moel@1
    46
    <UseVSHostingProcess>false</UseVSHostingProcess>
moel@166
    47
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
moel@1
    48
  </PropertyGroup>
moel@1
    49
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
moel@1
    50
    <DebugType>none</DebugType>
moel@1
    51
    <Optimize>true</Optimize>
moel@1
    52
    <OutputPath>Bin\Release\</OutputPath>
moel@1
    53
    <DefineConstants>TRACE</DefineConstants>
moel@1
    54
    <ErrorReport>prompt</ErrorReport>
moel@1
    55
    <WarningLevel>4</WarningLevel>
moel@1
    56
    <UseVSHostingProcess>false</UseVSHostingProcess>
moel@166
    57
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
moel@1
    58
  </PropertyGroup>
moel@1
    59
  <ItemGroup>
moel@1
    60
    <Reference Include="System" />
paulwerelds@223
    61
    <Reference Include="System.Configuration.Install" />
moel@1
    62
    <Reference Include="System.Drawing" />
paulwerelds@223
    63
    <Reference Include="System.Management" />
moel@1
    64
    <Reference Include="System.Windows.Forms" />
moel@130
    65
    <Reference Include="System.Xml" />
moel@135
    66
    <Reference Include="Aga.Controls, Version=1.7.0.0, Culture=neutral, PublicKeyToken=fcc90fbf924463a3">
moel@135
    67
      <SpecificVersion>False</SpecificVersion>
moel@135
    68
      <HintPath>External\Aga.Controls.dll</HintPath>
moel@135
    69
    </Reference>
moel@1
    70
  </ItemGroup>
moel@1
    71
  <ItemGroup>
moel@176
    72
    <Compile Include="GUI\GadgetWindow.cs" />
moel@176
    73
    <Compile Include="GUI\Gadget.cs" />
moel@176
    74
    <Compile Include="GUI\HardwareTypeImage.cs" />
moel@158
    75
    <Compile Include="GUI\PlotPanel.cs">
moel@158
    76
      <SubType>UserControl</SubType>
moel@158
    77
    </Compile>
moel@150
    78
    <Compile Include="GUI\ReportForm.cs">
moel@86
    79
      <SubType>Form</SubType>
moel@86
    80
    </Compile>
moel@150
    81
    <Compile Include="GUI\ReportForm.Designer.cs">
moel@150
    82
      <DependentUpon>ReportForm.cs</DependentUpon>
moel@150
    83
    </Compile>
moel@150
    84
    <Compile Include="GUI\CrashForm.cs">
moel@150
    85
      <SubType>Form</SubType>
moel@150
    86
    </Compile>
moel@150
    87
    <Compile Include="GUI\CrashForm.Designer.cs">
moel@150
    88
      <DependentUpon>CrashForm.cs</DependentUpon>
moel@86
    89
    </Compile>
moel@111
    90
    <Compile Include="GUI\Node.cs" />
moel@63
    91
    <Compile Include="GUI\ParameterForm.cs">
moel@63
    92
      <SubType>Form</SubType>
moel@63
    93
    </Compile>
moel@63
    94
    <Compile Include="GUI\ParameterForm.Designer.cs">
moel@63
    95
      <DependentUpon>ParameterForm.cs</DependentUpon>
moel@63
    96
    </Compile>
moel@176
    97
    <Compile Include="GUI\SensorGadget.cs" />
moel@40
    98
    <Compile Include="GUI\SensorNotifyIcon.cs" />
moel@176
    99
    <Compile Include="GUI\ShowDesktop.cs" />
moel@158
   100
    <Compile Include="GUI\SplitContainerAdv.cs">
moel@158
   101
      <SubType>Component</SubType>
moel@158
   102
    </Compile>
moel@133
   103
    <Compile Include="GUI\SystemTray.cs" />
moel@82
   104
    <Compile Include="GUI\StartupManager.cs" />
moel@82
   105
    <Compile Include="GUI\TaskScheduler.cs" />
moel@111
   106
    <Compile Include="GUI\TreeModel.cs" />
moel@1
   107
    <Compile Include="GUI\TypeNode.cs" />
moel@122
   108
    <Compile Include="GUI\UnitManager.cs" />
moel@110
   109
    <Compile Include="GUI\UpdateVisitor.cs" />
moel@156
   110
    <Compile Include="GUI\UserOption.cs" />
moel@166
   111
    <Compile Include="Properties\AssemblyVersion.cs" />
moel@165
   112
    <Compile Include="Utilities\PersistentSettings.cs" />
moel@1
   113
    <Compile Include="Properties\AssemblyInfo.cs" />
moel@1
   114
    <Compile Include="GUI\AboutBox.cs">
moel@1
   115
      <SubType>Form</SubType>
moel@1
   116
    </Compile>
moel@1
   117
    <Compile Include="GUI\AboutBox.Designer.cs">
moel@1
   118
      <DependentUpon>AboutBox.cs</DependentUpon>
moel@1
   119
    </Compile>
moel@1
   120
    <Compile Include="GUI\HardwareNode.cs" />
moel@1
   121
    <Compile Include="GUI\MainForm.cs">
moel@1
   122
      <SubType>Form</SubType>
moel@1
   123
    </Compile>
moel@1
   124
    <Compile Include="GUI\MainForm.Designer.cs">
moel@1
   125
      <DependentUpon>MainForm.cs</DependentUpon>
moel@1
   126
    </Compile>
moel@165
   127
    <Compile Include="Program.cs" />
moel@165
   128
    <Compile Include="GUI\SensorNode.cs" />
moel@165
   129
    <Compile Include="Utilities\EmbeddedResources.cs" />
moel@40
   130
    <Compile Include="Utilities\IconFactory.cs" />
moel@230
   131
    <Compile Include="WMI\Hardware.cs" />
moel@230
   132
    <Compile Include="WMI\IWmiObject.cs" />
moel@230
   133
    <Compile Include="WMI\Sensor.cs" />
moel@230
   134
    <Compile Include="WMI\WmiProvider.cs">
paulwerelds@223
   135
      <SubType>Component</SubType>
paulwerelds@223
   136
    </Compile>
moel@1
   137
  </ItemGroup>
moel@1
   138
  <ItemGroup>
moel@1
   139
    <EmbeddedResource Include="GUI\AboutBox.resx">
moel@1
   140
      <DependentUpon>AboutBox.cs</DependentUpon>
moel@60
   141
      <SubType>Designer</SubType>
moel@1
   142
    </EmbeddedResource>
moel@1
   143
    <EmbeddedResource Include="Resources\ati.png">
moel@1
   144
    </EmbeddedResource>
moel@1
   145
    <EmbeddedResource Include="Resources\bigng.png" />
moel@1
   146
    <EmbeddedResource Include="Resources\clock.png" />
moel@1
   147
    <EmbeddedResource Include="Resources\computer.png" />
moel@1
   148
    <EmbeddedResource Include="Resources\cpu.png" />
moel@1
   149
    <EmbeddedResource Include="Resources\fan.png" />
moel@1
   150
    <EmbeddedResource Include="Resources\temperature.png" />
moel@1
   151
  </ItemGroup>
moel@1
   152
  <ItemGroup>
moel@1
   153
    <EmbeddedResource Include="Resources\chip.png" />
moel@1
   154
    <EmbeddedResource Include="Resources\hdd.png" />
moel@24
   155
    <EmbeddedResource Include="Resources\load.png" />
moel@1
   156
    <EmbeddedResource Include="Resources\voltage.png" />
moel@1
   157
    <EmbeddedResource Include="Resources\nvidia.png" />
moel@1
   158
  </ItemGroup>
moel@26
   159
  <ItemGroup>
moel@189
   160
    <None Include="App.config" />
moel@26
   161
    <None Include="Resources\app.manifest" />
moel@40
   162
    <None Include="Resources\icon.ico" />
moel@40
   163
  </ItemGroup>
moel@40
   164
  <ItemGroup>
moel@40
   165
    <EmbeddedResource Include="Resources\smallicon.ico" />
moel@26
   166
  </ItemGroup>
moel@57
   167
  <ItemGroup>
moel@63
   168
    <EmbeddedResource Include="GUI\ParameterForm.resx">
moel@63
   169
      <DependentUpon>ParameterForm.cs</DependentUpon>
moel@63
   170
    </EmbeddedResource>
moel@57
   171
    <EmbeddedResource Include="Resources\flow.png" />
moel@57
   172
  </ItemGroup>
moel@64
   173
  <ItemGroup>
moel@150
   174
    <EmbeddedResource Include="GUI\CrashForm.resx">
moel@150
   175
      <DependentUpon>CrashForm.cs</DependentUpon>
moel@86
   176
    </EmbeddedResource>
moel@64
   177
    <EmbeddedResource Include="Resources\mainboard.png" />
moel@64
   178
  </ItemGroup>
moel@118
   179
  <ItemGroup>
moel@156
   180
    <EmbeddedResource Include="GUI\MainForm.resx">
moel@156
   181
      <DependentUpon>MainForm.cs</DependentUpon>
moel@156
   182
    </EmbeddedResource>
moel@150
   183
    <EmbeddedResource Include="GUI\ReportForm.resx">
moel@150
   184
      <DependentUpon>ReportForm.cs</DependentUpon>
moel@150
   185
    </EmbeddedResource>
moel@118
   186
    <EmbeddedResource Include="Resources\control.png" />
moel@118
   187
  </ItemGroup>
moel@165
   188
  <ItemGroup>
moel@165
   189
    <ProjectReference Include="OpenHardwareMonitorLib.csproj">
moel@165
   190
      <Project>{B0397530-545A-471D-BB74-027AE456DF1A}</Project>
moel@165
   191
      <Name>OpenHardwareMonitorLib</Name>
moel@165
   192
    </ProjectReference>
moel@165
   193
  </ItemGroup>
moel@166
   194
  <ItemGroup>
moel@166
   195
    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
moel@166
   196
      <Visible>False</Visible>
moel@166
   197
      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
moel@166
   198
      <Install>false</Install>
moel@166
   199
    </BootstrapperPackage>
moel@166
   200
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
moel@166
   201
      <Visible>False</Visible>
moel@166
   202
      <ProductName>.NET Framework 3.5 SP1</ProductName>
moel@166
   203
      <Install>true</Install>
moel@166
   204
    </BootstrapperPackage>
moel@166
   205
    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
moel@166
   206
      <Visible>False</Visible>
moel@166
   207
      <ProductName>Windows Installer 3.1</ProductName>
moel@166
   208
      <Install>true</Install>
moel@166
   209
    </BootstrapperPackage>
moel@166
   210
  </ItemGroup>
moel@176
   211
  <ItemGroup>
moel@176
   212
    <EmbeddedResource Include="Resources\barback.png" />
moel@176
   213
    <EmbeddedResource Include="Resources\barblue.png" />
moel@176
   214
    <EmbeddedResource Include="Resources\gadget.png" />
moel@176
   215
  </ItemGroup>
moel@217
   216
  <ItemGroup>
moel@217
   217
    <EmbeddedResource Include="Resources\level.png" />
moel@217
   218
  </ItemGroup>
moel@1
   219
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
moel@1
   220
  <ProjectExtensions>
moel@1
   221
    <VisualStudio AllowExistingFolder="true" />
moel@1
   222
  </ProjectExtensions>
moel@1
   223
  <PropertyGroup>
moel@1
   224
    <PreBuildEvent>
moel@1
   225
    </PreBuildEvent>
moel@1
   226
    <PostBuildEvent>copy "$(ProjectDir)External\*.*" "$(TargetDir)"
moel@1
   227
copy "$(ProjectDir)Licenses\*.*" "$(TargetDir)"</PostBuildEvent>
moel@1
   228
  </PropertyGroup>
moel@1
   229
</Project>