D3NsCore.csproj 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <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')" />
  4. <Import Project="C:\NuGetLocalRepo\ILRepack.2.0.13\build\ILRepack.props" Condition="Exists('C:\NuGetLocalRepo\ILRepack.2.0.13\build\ILRepack.props')" />
  5. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  6. <PropertyGroup>
  7. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  8. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  9. <ProjectGuid>{770B76D8-F319-47EE-BF90-5D434DD07CA1}</ProjectGuid>
  10. <OutputType>Exe</OutputType>
  11. <RootNamespace>D3NsCore</RootNamespace>
  12. <AssemblyName>D3NsCore</AssemblyName>
  13. <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
  14. <FileAlignment>512</FileAlignment>
  15. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  16. <NuGetPackageImportStamp>
  17. </NuGetPackageImportStamp>
  18. <TargetFrameworkProfile />
  19. </PropertyGroup>
  20. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
  21. <DebugSymbols>true</DebugSymbols>
  22. <OutputPath>bin\x64\Debug\</OutputPath>
  23. <DefineConstants>DEBUG;TRACE</DefineConstants>
  24. <DebugType>full</DebugType>
  25. <PlatformTarget>x64</PlatformTarget>
  26. <ErrorReport>prompt</ErrorReport>
  27. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  28. <Prefer32Bit>true</Prefer32Bit>
  29. </PropertyGroup>
  30. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
  31. <OutputPath>bin\x64\Release\</OutputPath>
  32. <DefineConstants>TRACE</DefineConstants>
  33. <Optimize>true</Optimize>
  34. <DebugType>pdbonly</DebugType>
  35. <PlatformTarget>x64</PlatformTarget>
  36. <ErrorReport>prompt</ErrorReport>
  37. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  38. <Prefer32Bit>true</Prefer32Bit>
  39. </PropertyGroup>
  40. <ItemGroup>
  41. <Reference Include="Dapper, Version=1.50.2.0, Culture=neutral, processorArchitecture=MSIL">
  42. <HintPath>C:\NuGetLocalRepo\Dapper.1.50.2\lib\net45\Dapper.dll</HintPath>
  43. <Private>True</Private>
  44. </Reference>
  45. <Reference Include="Mono.Data.Sqlite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
  46. <HintPath>C:\NuGetLocalRepo\Mono.Data.Sqlite.Portable.1.0.3.5\lib\net4\Mono.Data.Sqlite.dll</HintPath>
  47. <Private>True</Private>
  48. </Reference>
  49. <Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
  50. <HintPath>C:\NuGetLocalRepo\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
  51. <Private>True</Private>
  52. </Reference>
  53. <Reference Include="System">
  54. <HintPath>C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.dll</HintPath>
  55. </Reference>
  56. <Reference Include="System.Configuration" />
  57. <Reference Include="System.Core" />
  58. <Reference Include="System.Data.Portable, Version=4.0.0.0, Culture=neutral, PublicKeyToken=59e704a76bc4613a, processorArchitecture=MSIL">
  59. <HintPath>C:\NuGetLocalRepo\Mono.Data.Sqlite.Portable.1.0.3.5\lib\net4\System.Data.Portable.dll</HintPath>
  60. <Private>True</Private>
  61. </Reference>
  62. <Reference Include="System.Transactions" />
  63. <Reference Include="System.Transactions.Portable, Version=4.0.0.0, Culture=neutral, PublicKeyToken=59e704a76bc4613a, processorArchitecture=MSIL">
  64. <HintPath>C:\NuGetLocalRepo\Mono.Data.Sqlite.Portable.1.0.3.5\lib\net4\System.Transactions.Portable.dll</HintPath>
  65. <Private>True</Private>
  66. </Reference>
  67. <Reference Include="System.Xml.Linq" />
  68. <Reference Include="System.Data.DataSetExtensions" />
  69. <Reference Include="Microsoft.CSharp" />
  70. <Reference Include="System.Data" />
  71. <Reference Include="System.Net.Http" />
  72. <Reference Include="System.Xml" />
  73. </ItemGroup>
  74. <ItemGroup>
  75. <Compile Include="BasicServ.cs" />
  76. <Compile Include="D3NsClient.cs" />
  77. <Compile Include="Entities\ConfigEntry.cs" />
  78. <Compile Include="Models\HttpHeader.cs" />
  79. <Compile Include="Models\LogEventArgs.cs" />
  80. <Compile Include="Models\LogLevel.cs" />
  81. <Compile Include="Program.cs" />
  82. <Compile Include="Properties\AssemblyInfo.cs" />
  83. <Compile Include="Tools\ConfigAdapter.cs" />
  84. <Compile Include="Tools\DataAccess.cs" />
  85. <Compile Include="Tools\HttpAccess.cs" />
  86. <Compile Include="Tools\Utility.cs" />
  87. </ItemGroup>
  88. <ItemGroup>
  89. <None Include="packages.config" />
  90. </ItemGroup>
  91. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  92. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  93. <PropertyGroup>
  94. <ErrorText>此项目引用这台计算机上缺少的 NuGet 程序包。使用 NuGet 程序包还原可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  95. </PropertyGroup>
  96. <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'))" />
  97. <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'))" />
  98. </Target>
  99. <PropertyGroup>
  100. <PostBuildEvent>if $(ConfigurationName) == Release if not exist $(TargetDir)Packed md $(TargetDir)Packed
  101. 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
  102. if $(ConfigurationName) == Release if exist $(TargetDir)Packed\$(TargetFileName).config del $(TargetDir)Packed\$(TargetFileName).config
  103. if $(ConfigurationName) == Release copy $(TargetDir)sqlite3.dll $(TargetDir)Packed\sqlite3.dll</PostBuildEvent>
  104. </PropertyGroup>
  105. <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')" />
  106. <Target Name="EnsureMonoDataSqlitePortableImported" BeforeTargets="BeforeBuild" Condition="'$(MonoDataSqlitePortableImported)' == ''">
  107. <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." />
  108. <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." />
  109. </Target>
  110. </Project>