Migrated from .NET Framework version 2.0 to .NET Framework version 4.5.

This commit is contained in:
Michael Möller
2020-05-21 17:53:08 +02:00
parent 0f6932a7e3
commit 9abc8906e4
19 changed files with 110 additions and 3201 deletions

View File

@@ -9,7 +9,7 @@
<OutputType>WinExe</OutputType>
<NoStandardLibraries>false</NoStandardLibraries>
<AssemblyName>OpenHardwareMonitor</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<RootNamespace>OpenHardwareMonitor</RootNamespace>
<ApplicationIcon>Resources\icon.ico</ApplicationIcon>
@@ -34,6 +34,7 @@
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -46,6 +47,7 @@
<UseVSHostingProcess>true</UseVSHostingProcess>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<PlatformTarget>AnyCPU</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
@@ -56,24 +58,15 @@
<WarningLevel>4</WarningLevel>
<UseVSHostingProcess>false</UseVSHostingProcess>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="OxyPlot">
<HintPath>External\OxyPlot.dll</HintPath>
</Reference>
<Reference Include="OxyPlot.WindowsForms">
<HintPath>External\OxyPlot.WindowsForms.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Drawing" />
<Reference Include="System.Management" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Aga.Controls, Version=1.7.0.0, Culture=neutral, PublicKeyToken=fcc90fbf924463a3">
<SpecificVersion>False</SpecificVersion>
<HintPath>External\Aga.Controls.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="GUI\GadgetWindow.cs" />
@@ -178,7 +171,6 @@
<EmbeddedResource Include="Resources\nvidia.png" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="Resources\app.manifest">
<SubType>Designer</SubType>
</None>
@@ -210,6 +202,18 @@
<EmbeddedResource Include="Resources\control.png" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="External\Aga.Controls\Aga.Controls.csproj">
<Project>{e73bb233-d88b-44a7-a98f-d71ee158381d}</Project>
<Name>Aga.Controls</Name>
</ProjectReference>
<ProjectReference Include="External\OxyPlot\OxyPlot.WindowsForms\OxyPlot.WindowsForms.csproj">
<Project>{d4554296-094e-4cac-8eae-44eb250666c6}</Project>
<Name>OxyPlot.WindowsForms</Name>
</ProjectReference>
<ProjectReference Include="External\OxyPlot\OxyPlot\OxyPlot.csproj">
<Project>{bcc43e58-e473-403e-a84d-63fedc723040}</Project>
<Name>OxyPlot</Name>
</ProjectReference>
<ProjectReference Include="OpenHardwareMonitorLib.csproj">
<Project>{B0397530-545A-471D-BB74-027AE456DF1A}</Project>
<Name>OpenHardwareMonitorLib</Name>
@@ -305,7 +309,6 @@
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>copy "$(ProjectDir)External\*.*" "$(TargetDir)"
copy "$(ProjectDir)Licenses\*.*" "$(TargetDir)"</PostBuildEvent>
<PostBuildEvent>copy "$(ProjectDir)Licenses\*.*" "$(TargetDir)"</PostBuildEvent>
</PropertyGroup>
</Project>