|
@@ -0,0 +1,110 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
+ <Import Project="C:\NuGetLocalRepo\SQLite.Native.3.12.3\build\net45\SQLite.Native.props" Condition="Exists('C:\NuGetLocalRepo\SQLite.Native.3.12.3\build\net45\SQLite.Native.props')" />
|
|
|
+ <Import Project="C:\NuGetLocalRepo\ILRepack.2.0.13\build\ILRepack.props" Condition="Exists('C:\NuGetLocalRepo\ILRepack.2.0.13\build\ILRepack.props')" />
|
|
|
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
|
+ <PropertyGroup>
|
|
|
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
|
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
|
+ <ProjectGuid>{770B76D8-F319-47EE-BF90-5D434DD07CA1}</ProjectGuid>
|
|
|
+ <OutputType>Exe</OutputType>
|
|
|
+ <RootNamespace>D3NsCore</RootNamespace>
|
|
|
+ <AssemblyName>D3NsCore</AssemblyName>
|
|
|
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|
|
+ <FileAlignment>512</FileAlignment>
|
|
|
+ <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
|
+ <NuGetPackageImportStamp>
|
|
|
+ </NuGetPackageImportStamp>
|
|
|
+ <TargetFrameworkProfile />
|
|
|
+ </PropertyGroup>
|
|
|
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
|
|
+ <DebugSymbols>true</DebugSymbols>
|
|
|
+ <OutputPath>bin\x64\Debug\</OutputPath>
|
|
|
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
|
+ <DebugType>full</DebugType>
|
|
|
+ <PlatformTarget>x64</PlatformTarget>
|
|
|
+ <ErrorReport>prompt</ErrorReport>
|
|
|
+ <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
+ <Prefer32Bit>true</Prefer32Bit>
|
|
|
+ </PropertyGroup>
|
|
|
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
|
+ <OutputPath>bin\x64\Release\</OutputPath>
|
|
|
+ <DefineConstants>TRACE</DefineConstants>
|
|
|
+ <Optimize>true</Optimize>
|
|
|
+ <DebugType>pdbonly</DebugType>
|
|
|
+ <PlatformTarget>x64</PlatformTarget>
|
|
|
+ <ErrorReport>prompt</ErrorReport>
|
|
|
+ <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
+ <Prefer32Bit>true</Prefer32Bit>
|
|
|
+ </PropertyGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <Reference Include="Dapper, Version=1.50.2.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
+ <HintPath>C:\NuGetLocalRepo\Dapper.1.50.2\lib\net45\Dapper.dll</HintPath>
|
|
|
+ <Private>True</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="Mono.Data.Sqlite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
|
|
|
+ <HintPath>C:\NuGetLocalRepo\Mono.Data.Sqlite.Portable.1.0.3.5\lib\net4\Mono.Data.Sqlite.dll</HintPath>
|
|
|
+ <Private>True</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
|
|
+ <HintPath>C:\NuGetLocalRepo\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
|
|
+ <Private>True</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="System">
|
|
|
+ <HintPath>C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.dll</HintPath>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="System.Configuration" />
|
|
|
+ <Reference Include="System.Core" />
|
|
|
+ <Reference Include="System.Data.Portable, Version=4.0.0.0, Culture=neutral, PublicKeyToken=59e704a76bc4613a, processorArchitecture=MSIL">
|
|
|
+ <HintPath>C:\NuGetLocalRepo\Mono.Data.Sqlite.Portable.1.0.3.5\lib\net4\System.Data.Portable.dll</HintPath>
|
|
|
+ <Private>True</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="System.Transactions" />
|
|
|
+ <Reference Include="System.Transactions.Portable, Version=4.0.0.0, Culture=neutral, PublicKeyToken=59e704a76bc4613a, processorArchitecture=MSIL">
|
|
|
+ <HintPath>C:\NuGetLocalRepo\Mono.Data.Sqlite.Portable.1.0.3.5\lib\net4\System.Transactions.Portable.dll</HintPath>
|
|
|
+ <Private>True</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="System.Xml.Linq" />
|
|
|
+ <Reference Include="System.Data.DataSetExtensions" />
|
|
|
+ <Reference Include="Microsoft.CSharp" />
|
|
|
+ <Reference Include="System.Data" />
|
|
|
+ <Reference Include="System.Net.Http" />
|
|
|
+ <Reference Include="System.Xml" />
|
|
|
+ </ItemGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <Compile Include="BasicServ.cs" />
|
|
|
+ <Compile Include="D3NsClient.cs" />
|
|
|
+ <Compile Include="Entities\ConfigEntry.cs" />
|
|
|
+ <Compile Include="Models\HttpHeader.cs" />
|
|
|
+ <Compile Include="Models\LogEventArgs.cs" />
|
|
|
+ <Compile Include="Models\LogLevel.cs" />
|
|
|
+ <Compile Include="Program.cs" />
|
|
|
+ <Compile Include="Properties\AssemblyInfo.cs" />
|
|
|
+ <Compile Include="Tools\ConfigAdapter.cs" />
|
|
|
+ <Compile Include="Tools\DataAccess.cs" />
|
|
|
+ <Compile Include="Tools\HttpAccess.cs" />
|
|
|
+ <Compile Include="Tools\Utility.cs" />
|
|
|
+ </ItemGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <None Include="packages.config" />
|
|
|
+ </ItemGroup>
|
|
|
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
|
+ <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
|
+ <PropertyGroup>
|
|
|
+ <ErrorText>此项目引用这台计算机上缺少的 NuGet 程序包。使用 NuGet 程序包还原可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
|
|
|
+ </PropertyGroup>
|
|
|
+ <Error Condition="!Exists('C:\NuGetLocalRepo\ILRepack.2.0.13\build\ILRepack.props')" Text="$([System.String]::Format('$(ErrorText)', 'C:\NuGetLocalRepo\ILRepack.2.0.13\build\ILRepack.props'))" />
|
|
|
+ <Error Condition="!Exists('C:\NuGetLocalRepo\SQLite.Native.3.12.3\build\net45\SQLite.Native.props')" Text="$([System.String]::Format('$(ErrorText)', 'C:\NuGetLocalRepo\SQLite.Native.3.12.3\build\net45\SQLite.Native.props'))" />
|
|
|
+ </Target>
|
|
|
+ <PropertyGroup>
|
|
|
+ <PostBuildEvent>if $(ConfigurationName) == Release if not exist $(TargetDir)Packed md $(TargetDir)Packed
|
|
|
+if $(ConfigurationName) == Release $(ILRepack) /ndebug /out:$(TargetDir)Packed\$(TargetFileName) $(TargetPath) Dapper.dll Mono.Data.Sqlite.dll Newtonsoft.Json.dll System.Data.Portable.dll System.Transactions.Portable.dll
|
|
|
+if $(ConfigurationName) == Release if exist $(TargetDir)Packed\$(TargetFileName).config del $(TargetDir)Packed\$(TargetFileName).config
|
|
|
+if $(ConfigurationName) == Release copy $(TargetDir)sqlite3.dll $(TargetDir)Packed\sqlite3.dll</PostBuildEvent>
|
|
|
+ </PropertyGroup>
|
|
|
+ <Import Project="C:\NuGetLocalRepo\Mono.Data.Sqlite.Portable.1.0.3.5\tools\Mono.Data.Sqlite.Portable.targets" Condition="Exists('C:\NuGetLocalRepo\Mono.Data.Sqlite.Portable.1.0.3.5\tools\Mono.Data.Sqlite.Portable.targets')" />
|
|
|
+ <Target Name="EnsureMonoDataSqlitePortableImported" BeforeTargets="BeforeBuild" Condition="'$(MonoDataSqlitePortableImported)' == ''">
|
|
|
+ <Error Condition="!Exists('C:\NuGetLocalRepo\Mono.Data.Sqlite.Portable.1.0.3.5\tools\Mono.Data.Sqlite.Portable.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them." />
|
|
|
+ <Error Condition="Exists('C:\NuGetLocalRepo\Mono.Data.Sqlite.Portable.1.0.3.5\tools\Mono.Data.Sqlite.Portable.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build." />
|
|
|
+ </Target>
|
|
|
+</Project>
|