|
@@ -9,8 +9,11 @@
|
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
|
<RootNamespace>NTMiner</RootNamespace>
|
|
|
<AssemblyName>NTMinerClient</AssemblyName>
|
|
|
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
|
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|
|
<FileAlignment>512</FileAlignment>
|
|
|
+ <TargetFrameworkProfile />
|
|
|
+ <NuGetPackageImportStamp>
|
|
|
+ </NuGetPackageImportStamp>
|
|
|
</PropertyGroup>
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
<DebugSymbols>true</DebugSymbols>
|
|
@@ -22,6 +25,7 @@
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
|
+ <Prefer32Bit>false</Prefer32Bit>
|
|
|
</PropertyGroup>
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
|
<DebugType>pdbonly</DebugType>
|
|
@@ -31,6 +35,7 @@
|
|
|
<ErrorReport>prompt</ErrorReport>
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
|
+ <Prefer32Bit>false</Prefer32Bit>
|
|
|
</PropertyGroup>
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
|
|
<DebugSymbols>true</DebugSymbols>
|
|
@@ -40,6 +45,7 @@
|
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
|
<ErrorReport>prompt</ErrorReport>
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
+ <Prefer32Bit>false</Prefer32Bit>
|
|
|
</PropertyGroup>
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
|
|
<OutputPath>bin\x86\Release\</OutputPath>
|
|
@@ -49,37 +55,40 @@
|
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
|
<ErrorReport>prompt</ErrorReport>
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
+ <Prefer32Bit>false</Prefer32Bit>
|
|
|
</PropertyGroup>
|
|
|
<ItemGroup>
|
|
|
- <Reference Include="ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
|
|
|
- <HintPath>..\..\packages\SharpZipLib.0.86.0\lib\20\ICSharpCode.SharpZipLib.dll</HintPath>
|
|
|
+ <Reference Include="ICSharpCode.SharpZipLib, Version=1.3.1.9, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
|
|
|
+ <HintPath>..\..\packages\SharpZipLib.1.3.1\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
|
|
|
</Reference>
|
|
|
<Reference Include="LiteDB, Version=4.1.4.0, Culture=neutral, PublicKeyToken=4ee40123013c9f27, processorArchitecture=MSIL">
|
|
|
<HintPath>..\..\packages\LiteDB.4.1.4\lib\net40\LiteDB.dll</HintPath>
|
|
|
</Reference>
|
|
|
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
|
|
- <HintPath>..\..\packages\Newtonsoft.Json.12.0.3\lib\net40\Newtonsoft.Json.dll</HintPath>
|
|
|
+ <HintPath>..\..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
|
|
</Reference>
|
|
|
<Reference Include="OpenHardwareMonitorLib">
|
|
|
<HintPath>..\ThirdPartyDlls\OpenHardwareMonitorLib.dll</HintPath>
|
|
|
</Reference>
|
|
|
<Reference Include="System" />
|
|
|
<Reference Include="System.Management" />
|
|
|
- <Reference Include="System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
- <HintPath>..\..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.dll</HintPath>
|
|
|
+ <Reference Include="System.Net.Http" />
|
|
|
+ <Reference Include="System.Net.Http.Extensions, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
+ <HintPath>..\..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll</HintPath>
|
|
|
</Reference>
|
|
|
- <Reference Include="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
|
- <HintPath>..\..\packages\Microsoft.AspNet.WebApi.Client.4.0.30506.0\lib\net40\System.Net.Http.Formatting.dll</HintPath>
|
|
|
+ <Reference Include="System.Net.Http.Formatting, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
|
+ <HintPath>..\..\packages\Microsoft.AspNet.WebApi.Client.5.2.7\lib\net45\System.Net.Http.Formatting.dll</HintPath>
|
|
|
</Reference>
|
|
|
- <Reference Include="System.Net.Http.WebRequest, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
- <HintPath>..\..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.WebRequest.dll</HintPath>
|
|
|
+ <Reference Include="System.Net.Http.Primitives, Version=4.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
+ <HintPath>..\..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll</HintPath>
|
|
|
</Reference>
|
|
|
+ <Reference Include="System.Net.Http.WebRequest" />
|
|
|
<Reference Include="System.ServiceProcess" />
|
|
|
- <Reference Include="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
|
- <HintPath>..\..\packages\Microsoft.AspNet.WebApi.Core.4.0.30506.0\lib\net40\System.Web.Http.dll</HintPath>
|
|
|
+ <Reference Include="System.Web.Http, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
|
+ <HintPath>..\..\packages\Microsoft.AspNet.WebApi.Core.5.2.7\lib\net45\System.Web.Http.dll</HintPath>
|
|
|
</Reference>
|
|
|
- <Reference Include="System.Web.Http.SelfHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
|
- <HintPath>..\..\packages\Microsoft.AspNet.WebApi.SelfHost.4.0.30506.0\lib\net40\System.Web.Http.SelfHost.dll</HintPath>
|
|
|
+ <Reference Include="System.Web.Http.SelfHost, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
|
+ <HintPath>..\..\packages\Microsoft.AspNet.WebApi.SelfHost.5.2.7\lib\net45\System.Web.Http.SelfHost.dll</HintPath>
|
|
|
</Reference>
|
|
|
</ItemGroup>
|
|
|
<ItemGroup>
|
|
@@ -229,8 +238,8 @@
|
|
|
<Compile Include="ZipUtil.cs" />
|
|
|
</ItemGroup>
|
|
|
<ItemGroup>
|
|
|
- <None Include="app.config" />
|
|
|
<Compile Include="Core\Profiles\Impl\WalletSet.cs" />
|
|
|
+ <None Include="app.config" />
|
|
|
<None Include="packages.config" />
|
|
|
</ItemGroup>
|
|
|
<ItemGroup>
|
|
@@ -275,4 +284,11 @@
|
|
|
</ItemGroup>
|
|
|
<ItemGroup />
|
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
|
+ <Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
|
|
|
+ <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
|
+ <PropertyGroup>
|
|
|
+ <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
|
|
|
+ </PropertyGroup>
|
|
|
+ <Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
|
|
|
+ </Target>
|
|
|
</Project>
|