Infrastructure.csproj 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="..\..\Application\qdr.app.messagepanel\packages\ILMerge.3.0.29\build\ILMerge.props" Condition="Exists('..\..\Application\qdr.app.messagepanel\packages\ILMerge.3.0.29\build\ILMerge.props')" />
  4. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  5. <PropertyGroup>
  6. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  7. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  8. <ProjectGuid>{9B070374-98A3-4122-85DD-CF5AB5E4B503}</ProjectGuid>
  9. <OutputType>Library</OutputType>
  10. <RootNamespace>Quadarax.Foundation.Infrastructure</RootNamespace>
  11. <AssemblyName>QDR.FND.Infrastructure</AssemblyName>
  12. <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  15. <Deterministic>true</Deterministic>
  16. <NuGetPackageImportStamp>
  17. </NuGetPackageImportStamp>
  18. </PropertyGroup>
  19. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  20. <PlatformTarget>AnyCPU</PlatformTarget>
  21. <DebugSymbols>true</DebugSymbols>
  22. <DebugType>full</DebugType>
  23. <Optimize>false</Optimize>
  24. <OutputPath>bin\Debug\</OutputPath>
  25. <DefineConstants>DEBUG;TRACE</DefineConstants>
  26. <ErrorReport>prompt</ErrorReport>
  27. <WarningLevel>4</WarningLevel>
  28. </PropertyGroup>
  29. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  30. <PlatformTarget>AnyCPU</PlatformTarget>
  31. <DebugType>pdbonly</DebugType>
  32. <Optimize>true</Optimize>
  33. <OutputPath>bin\Release\</OutputPath>
  34. <DefineConstants>TRACE</DefineConstants>
  35. <ErrorReport>prompt</ErrorReport>
  36. <WarningLevel>4</WarningLevel>
  37. </PropertyGroup>
  38. <PropertyGroup>
  39. <ApplicationIcon>quadarax_dll.ico</ApplicationIcon>
  40. </PropertyGroup>
  41. <PropertyGroup>
  42. <StartupObject />
  43. </PropertyGroup>
  44. <PropertyGroup>
  45. <SignAssembly>true</SignAssembly>
  46. </PropertyGroup>
  47. <PropertyGroup>
  48. <AssemblyOriginatorKeyFile>quadarax_strong_name_key.pfx</AssemblyOriginatorKeyFile>
  49. </PropertyGroup>
  50. <ItemGroup>
  51. <Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
  52. <HintPath>packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
  53. </Reference>
  54. <Reference Include="QDR.FND.Common, Version=1.0.0.7, Culture=neutral, PublicKeyToken=60b8fdcb29a015db, processorArchitecture=MSIL">
  55. <HintPath>packages\Quadarax.Foundation.Common.1.0.0.7\lib\net472\QDR.FND.Common.dll</HintPath>
  56. </Reference>
  57. <Reference Include="StructureMap">
  58. <HintPath>packages\StructureMap.4.7.1\lib\net45\StructureMap.dll</HintPath>
  59. </Reference>
  60. <Reference Include="System" />
  61. <Reference Include="System.Core" />
  62. <Reference Include="System.Xml.Linq" />
  63. <Reference Include="System.Data.DataSetExtensions" />
  64. <Reference Include="Microsoft.CSharp" />
  65. <Reference Include="System.Data" />
  66. <Reference Include="System.Net.Http" />
  67. <Reference Include="System.Xml" />
  68. </ItemGroup>
  69. <ItemGroup>
  70. <Compile Include="GlobalContainer.cs" />
  71. <Compile Include="IModule.cs" />
  72. <Compile Include="Infra.cs" />
  73. <Compile Include="Layers\BusinessLayer.cs" />
  74. <Compile Include="Layers\DataLayer.cs" />
  75. <Compile Include="Layers\GlobalLayer.cs" />
  76. <Compile Include="Layers\Layer.cs" />
  77. <Compile Include="Layers\LayerClassificationEnum.cs" />
  78. <Compile Include="Layers\PresentationLayer.cs" />
  79. <Compile Include="Layers\ServiceLayer.cs" />
  80. <Compile Include="Properties\AssemblyInfo.cs" />
  81. </ItemGroup>
  82. <ItemGroup>
  83. <None Include="App.config" />
  84. <None Include="create_package.ps1" />
  85. <None Include="packages.config" />
  86. <None Include="QDR.FND.Infrastructure.nuspec">
  87. <SubType>Designer</SubType>
  88. </None>
  89. <None Include="quadarax_strong_name_key.pfx" />
  90. </ItemGroup>
  91. <ItemGroup>
  92. <Content Include="quadarax_dll.ico" />
  93. <Content Include="ReleaseNote.txt" />
  94. </ItemGroup>
  95. <ItemGroup />
  96. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  97. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  98. <PropertyGroup>
  99. <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
  100. </PropertyGroup>
  101. <Error Condition="!Exists('.\packages\ILMerge.3.0.29\build\ILMerge.props')" Text="$([System.String]::Format('$(ErrorText)', '.\packages\ILMerge.3.0.29\build\ILMerge.props'))" />
  102. </Target>
  103. <Target Name="MergeAssembly" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
  104. <Message Text="*** Merging assemblies into $(TargetDir)merged\$(TargetName).dll ***" />
  105. <Exec Command="if not exist &quot;$(TargetDir)merged\&quot; mkdir &quot;$(TargetDir)merged\&quot;" />
  106. <Exec Command="$(ILMergeConsolePath) /out:&quot;$(TargetDir)merged\$(TargetName).dll&quot; &quot;$(TargetDir)$(TargetName).dll&quot; &quot;$(TargetDir)StructureMap.dll&quot; /keyfile:&quot;$(ProjectDir)quadarax_strong_name_key.pub&quot; /delaysign /target:library /wildcards /log:&quot;$(TargetDir)merge_output.log&quot;" />
  107. </Target>
  108. <Target Name="SignMergedAssembly" AfterTargets="MergeAssembly" Condition="'$(Configuration)' == 'Release'">
  109. <Message Text="*** Signing merged assembly $(TargetDir)$merged\(TargetName).dll ***" />
  110. <Exec Command="&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\x64\sn.exe&quot; -Rc $(TargetDir)merged\$(TargetName).dll quadarax_strong_name_key" />
  111. </Target>
  112. <Target Name="CopyMergedAssembly" AfterTargets="SignMergedAssembly" Condition="'$(Configuration)' == 'Release'">
  113. <Message Text="*** Replace merged assembly $(TargetDir)merged\$(TargetName).dll ***" />
  114. <Exec Command="copy /Y $(TargetDir)merged\$(TargetName).dll $(TargetDir)$(TargetName).dll" />
  115. <Exec Command="copy /Y $(TargetDir)merged\$(TargetName).pdb $(TargetDir)$(TargetName).pdb" />
  116. </Target>
  117. <PropertyGroup>
  118. <PostBuildEvent>
  119. </PostBuildEvent>
  120. </PropertyGroup>
  121. </Project>