@@ -91,6 +91,7 @@ public void Msbuild()
9191 string testResultPath = Path . Join ( _testResultsPath , ( ( ITest ) _testMember ! . GetValue ( _output ) ! ) . DisplayName ) ;
9292 string logFilename = string . Concat ( ( ( ITest ) _testMember ! . GetValue ( _output ) ! ) . DisplayName , ".binlog" ) ;
9393 CreateDeterministicTestPropsFile ( ) ;
94+ UpdateNugetConfigWithLocalPackageFolder ( _testProjectPath ) ;
9495
9596 DotnetCli ( $ "build -c { _buildConfiguration } -bl:build.{ logFilename } /p:DeterministicSourcePaths=true", out string standardOutput , out string standardError , _testProjectPath ) ;
9697 if ( ! string . IsNullOrEmpty ( standardError ) )
@@ -134,6 +135,7 @@ public void Msbuild_SourceLink()
134135 string testResultPath = Path . Join ( _testResultsPath , ( ( ITest ) _testMember ! . GetValue ( _output ) ! ) . DisplayName ) ;
135136 string logFilename = string . Concat ( ( ( ITest ) _testMember ! . GetValue ( _output ) ! ) . DisplayName , ".binlog" ) ;
136137 CreateDeterministicTestPropsFile ( ) ;
138+ UpdateNugetConfigWithLocalPackageFolder ( _testProjectPath ) ;
137139
138140 DotnetCli ( $ "build -c { _buildConfiguration } -bl:build.{ logFilename } --verbosity normal /p:DeterministicSourcePaths=true", out string standardOutput , out string standardError , _testProjectPath ) ;
139141 if ( ! string . IsNullOrEmpty ( standardError ) )
@@ -181,6 +183,7 @@ public void Collectors()
181183 string logFilename = string . Concat ( ( ( ITest ) _testMember ! . GetValue ( _output ) ! ) . DisplayName , ".binlog" ) ;
182184
183185 CreateDeterministicTestPropsFile ( ) ;
186+ UpdateNugetConfigWithLocalPackageFolder ( _testProjectPath ) ;
184187 DeleteLogFiles ( testLogFilesPath ) ;
185188 DeleteCoverageFiles ( testResultPath ) ;
186189
@@ -236,6 +239,7 @@ public void Collectors_SourceLink()
236239 string logFilename = string . Concat ( ( ( ITest ) _testMember ! . GetValue ( _output ) ! ) . DisplayName , ".binlog" ) ;
237240
238241 CreateDeterministicTestPropsFile ( ) ;
242+ UpdateNugetConfigWithLocalPackageFolder ( _testProjectPath ) ;
239243 DeleteLogFiles ( testLogFilesPath ) ;
240244 DeleteCoverageFiles ( testResultPath ) ;
241245
0 commit comments