Exclude externals project in vstest when building from source (#11980)
This commit is contained in:
parent
6d264e0418
commit
668efded88
1 changed files with 25 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
From 9cf491ea8b913b0ec615778e5597584e675f4205 Mon Sep 17 00:00:00 2001
|
||||
From: dseefeld <dseefeld@microsoft.com>
|
||||
Date: Mon, 13 Sep 2021 21:01:44 +0000
|
||||
Subject: [PATCH] Exclude externals when building from source
|
||||
|
||||
---
|
||||
src/package/external/external.csproj | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/package/external/external.csproj b/src/package/external/external.csproj
|
||||
index 036f92ce..9b0e87ad 100644
|
||||
--- a/src/package/external/external.csproj
|
||||
+++ b/src/package/external/external.csproj
|
||||
@@ -29,7 +29,7 @@
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
</ItemGroup>
|
||||
|
||||
- <ItemGroup>
|
||||
+ <ItemGroup Condition=" '$(DotNetBuildFromSource)' != 'true' ">
|
||||
<!-- This csproj restore external tools required for build process -->
|
||||
<PackageReference Include="NuGet.CommandLine" Version="5.8.1" PrivateAssets="All" />
|
||||
<PackageReference Include="fmdev.xlftool" Version="0.1.3" PrivateAssets="All" />
|
||||
--
|
||||
2.31.1
|
||||
|
Loading…
Add table
Reference in a new issue