summaryrefslogtreecommitdiffstats
path: root/tools/DotNetOpenAuth.props
diff options
context:
space:
mode:
Diffstat (limited to 'tools/DotNetOpenAuth.props')
-rw-r--r--tools/DotNetOpenAuth.props6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/DotNetOpenAuth.props b/tools/DotNetOpenAuth.props
index 9bc6c22..8bc59dd 100644
--- a/tools/DotNetOpenAuth.props
+++ b/tools/DotNetOpenAuth.props
@@ -26,8 +26,10 @@
<ILMergeOutputAssemblyDirectory>$(OutputPath)unified\</ILMergeOutputAssemblyDirectory>
<ILMergeOutputAssembly>$(ILMergeOutputAssemblyDirectory)$(ProductName).dll</ILMergeOutputAssembly>
- <!-- Always use our own toolset's copy of Code Contracts for reliably reproducible builds. -->
- <CodeContractsInstallDir>$(ProjectRoot)tools\Contracts\</CodeContractsInstallDir>
+ <!-- Always use our own toolset's copy of Code Contracts for reliably reproducible builds.
+ Suppress the installed code contracts from importing itself. -->
+ <DontImportCodeContracts>true</DontImportCodeContracts>
+ <ImportCodeContractsFromToolset>true</ImportCodeContractsFromToolset>
</PropertyGroup>
<ItemGroup>