dotnet-installer/eng/source-build-patches/0001-Exclude-test-folder-from-source-build.patch

24 lines
803 B
Diff

From 17bdd83006fbd27b64453ecddcf785c17eaaef1b Mon Sep 17 00:00:00 2001
From: dseefeld <dseefeld@microsoft.com>
Date: Mon, 29 Jun 2020 15:14:07 -0400
Subject: [PATCH 1/3] Exclude test folder from source-build
---
test/Directory.Build.props | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test/Directory.Build.props b/test/Directory.Build.props
index a953b97cc..26d486322 100644
--- a/test/Directory.Build.props
+++ b/test/Directory.Build.props
@@ -1,4 +1,7 @@
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\Directory.Build.props" />
<Import Project="..\eng\TestVersions.props" />
+ <PropertyGroup>
+ <ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
+ </PropertyGroup>
</Project>
--
2.18.0