From 34e0b9829faccaf14d90b12b5bf256ff83930728 Mon Sep 17 00:00:00 2001 From: Pranav K <prkrishn@hotmail.com> Date: Mon, 1 Nov 2021 15:22:53 -0700 Subject: [PATCH] Hide test infrastructure from the solution explorer (#38000) --- eng/targets/CSharp.Common.props | 2 +- eng/targets/Helix.targets | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/targets/CSharp.Common.props b/eng/targets/CSharp.Common.props index 87c1a48d990..a2745e22ee9 100644 --- a/eng/targets/CSharp.Common.props +++ b/eng/targets/CSharp.Common.props @@ -16,7 +16,7 @@ <Reference Include="Microsoft.AspNetCore.Testing" /> <Reference Include="Moq" /> <Reference Include="NETStandard.Library" /> - <Compile Include="$(SharedSourceRoot)test\SuccessfulTests.cs" LinkBase="SharedTests" /> + <Compile Include="$(SharedSourceRoot)test\SuccessfulTests.cs" LinkBase="SharedTests" Visible="false" /> </ItemGroup> <Import Project="$(RepoRoot)src\Testing\src\build\Microsoft.AspNetCore.Testing.props" Condition=" '$(IsTestProject)' == 'true' " /> diff --git a/eng/targets/Helix.targets b/eng/targets/Helix.targets index db5885dd900..716010a30f1 100644 --- a/eng/targets/Helix.targets +++ b/eng/targets/Helix.targets @@ -63,10 +63,10 @@ <!-- Item group has to be defined here because Helix.props is evaluated before xunit.runner.console.props --> <ItemGroup Condition="$(BuildHelixPayload)"> - <Content Include="@(HelixContent)" /> - <Content Include="$(RepoRoot)eng\scripts\Download.ps1" /> - <Content Include="$(RepoRoot)NuGet.config" /> - <Content Include="$(RepoRoot)global.json" /> + <Content Include="@(HelixContent)" Visible="false" /> + <Content Include="$(RepoRoot)eng\scripts\Download.ps1" Visible="false" /> + <Content Include="$(RepoRoot)NuGet.config" Visible="false" /> + <Content Include="$(RepoRoot)global.json" Visible="false" /> <ContentWithTargetPath Include=" $(RepoRoot)eng\common\pipeline-logging-functions.*; $(RepoRoot)eng\common\tools.*"> -- GitLab