This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 7979 <DestinationFolder >$(TestDir)</DestinationFolder >
8080 </TestSupportFiles >
8181 </ItemGroup >
82+
83+ <ItemGroup >
84+ <CliEnvironment Include =" DOTNET_CLI_TELEMETRY_OPTOUT=1" />
85+ <CliEnvironment Include =" DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1" />
86+ <CliEnvironment Include =" DOTNET_MULTILEVEL_LOOKUP=0" />
87+ </ItemGroup >
8288
8389 <Target Name =" CreateTestDir"
8490 Inputs =" @(TestSupportFiles)"
159165 <Target Name =" RestoreProjects"
160166 DependsOnTargets =" GenerateProjects" >
161167 <Message Importance =" High" Text =" *** Restoring ***" />
162- <Exec Command =" $(TestRestoreCommand) " $(TestProject)" " StandardOutputImportance =" High" />
168+ <Exec Command =" $(TestRestoreCommand) " $(TestProject)" " EnvironmentVariables = " @(CliEnvironment) " ContinueOnError = " ErrorAndContinue " StandardOutputImportance =" High" />
163169 </Target >
164170
165171 <Target Name =" BuildProjects"
166172 DependsOnTargets =" RestoreProjects" >
167173 <Message Importance =" High" Text =" *** Testing ***" />
168- <Exec Command =" $(TestBuildCommand) " $(TestProject)" /p:TestPackages=%(SupportedPackage.Identity)" StandardOutputImportance =" High" />
174+ <Exec Command =" $(TestBuildCommand) " $(TestProject)" /p:TestPackages=%(SupportedPackage.Identity)" EnvironmentVariables = " @(CliEnvironment) " ContinueOnError = " ErrorAndContinue " StandardOutputImportance =" High" />
169175 </Target >
170176
171177 <Target Name =" Build" DependsOnTargets =" BuildProjects" />
You can’t perform that action at this time.
0 commit comments