|
|
@@ -1,5 +1,6 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
+ <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')" />
|
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
|
<PropertyGroup>
|
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
|
@@ -12,6 +13,8 @@
|
|
|
<FileAlignment>512</FileAlignment>
|
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
|
<Deterministic>true</Deterministic>
|
|
|
+ <NuGetPackageImportStamp>
|
|
|
+ </NuGetPackageImportStamp>
|
|
|
</PropertyGroup>
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
|
@@ -51,7 +54,7 @@
|
|
|
<Reference Include="QDR.FND.Common, Version=1.0.0.7, Culture=neutral, PublicKeyToken=60b8fdcb29a015db, processorArchitecture=MSIL">
|
|
|
<HintPath>packages\Quadarax.Foundation.Common.1.0.0.7\lib\net472\QDR.FND.Common.dll</HintPath>
|
|
|
</Reference>
|
|
|
- <Reference Include="StructureMap, Version=4.7.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
+ <Reference Include="StructureMap">
|
|
|
<HintPath>packages\StructureMap.4.7.1\lib\net45\StructureMap.dll</HintPath>
|
|
|
</Reference>
|
|
|
<Reference Include="System" />
|
|
|
@@ -80,7 +83,9 @@
|
|
|
<None Include="App.config" />
|
|
|
<None Include="create_package.ps1" />
|
|
|
<None Include="packages.config" />
|
|
|
- <None Include="QDR.FND.Infrastructure.nuspec" />
|
|
|
+ <None Include="QDR.FND.Infrastructure.nuspec">
|
|
|
+ <SubType>Designer</SubType>
|
|
|
+ </None>
|
|
|
<None Include="quadarax_strong_name_key.pfx" />
|
|
|
</ItemGroup>
|
|
|
<ItemGroup>
|
|
|
@@ -89,4 +94,28 @@
|
|
|
</ItemGroup>
|
|
|
<ItemGroup />
|
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
|
+ <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
|
+ <PropertyGroup>
|
|
|
+ <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>
|
|
|
+ </PropertyGroup>
|
|
|
+ <Error Condition="!Exists('..\..\Application\qdr.app.messagepanel\packages\ILMerge.3.0.29\build\ILMerge.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\Application\qdr.app.messagepanel\packages\ILMerge.3.0.29\build\ILMerge.props'))" />
|
|
|
+ </Target>
|
|
|
+ <Target Name="MergeAssembly" AfterTargets="Build">
|
|
|
+ <Message Text="*** Merging assemblies into $(TargetDir)merged\$(TargetName).dll ***" />
|
|
|
+ <Exec Command="if not exist "$(TargetDir)merged\" mkdir "$(TargetDir)merged\"" />
|
|
|
+ <Exec Command="$(ILMergeConsolePath) /out:"$(TargetDir)merged\$(TargetName).dll" "$(TargetDir)$(TargetName).dll" "$(TargetDir)StructureMap.dll" /keyfile:"$(ProjectDir)quadarax_strong_name_key.pub" /delaysign /target:library /wildcards /log:"$(TargetDir)merge_output.log"" />
|
|
|
+ </Target>
|
|
|
+ <Target Name="SignMergedAssembly" AfterTargets="MergeAssembly">
|
|
|
+ <Message Text="*** Signing merged assembly $(TargetDir)$merged\(TargetName).dll ***" />
|
|
|
+ <Exec Command=""C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\x64\sn.exe" -Rc $(TargetDir)merged\$(TargetName).dll quadarax_strong_name_key" />
|
|
|
+ </Target>
|
|
|
+ <Target Name="CopyMergedAssembly" AfterTargets="SignMergedAssembly">
|
|
|
+ <Message Text="*** Replace merged assembly $(TargetDir)merged\$(TargetName).dll ***" />
|
|
|
+ <Exec Command="copy /Y $(TargetDir)merged\$(TargetName).dll $(TargetDir)$(TargetName).dll" />
|
|
|
+ <Exec Command="copy /Y $(TargetDir)merged\$(TargetName).pdb $(TargetDir)$(TargetName).pdb" />
|
|
|
+ </Target>
|
|
|
+ <PropertyGroup>
|
|
|
+ <PostBuildEvent>
|
|
|
+ </PostBuildEvent>
|
|
|
+ </PropertyGroup>
|
|
|
</Project>
|