@@ -91,6 +91,7 @@ public void Msbuild()
91
91
string testResultPath = Path . Join ( _testResultsPath , ( ( ITest ) _testMember ! . GetValue ( _output ) ! ) . DisplayName ) ;
92
92
string logFilename = string . Concat ( ( ( ITest ) _testMember ! . GetValue ( _output ) ! ) . DisplayName , ".binlog" ) ;
93
93
CreateDeterministicTestPropsFile ( ) ;
94
+ UpdateNugetConfigWithLocalPackageFolder ( _testProjectPath ) ;
94
95
95
96
DotnetCli ( $ "build -c { _buildConfiguration } -bl:build.{ logFilename } /p:DeterministicSourcePaths=true", out string standardOutput , out string standardError , _testProjectPath ) ;
96
97
if ( ! string . IsNullOrEmpty ( standardError ) )
@@ -134,6 +135,7 @@ public void Msbuild_SourceLink()
134
135
string testResultPath = Path . Join ( _testResultsPath , ( ( ITest ) _testMember ! . GetValue ( _output ) ! ) . DisplayName ) ;
135
136
string logFilename = string . Concat ( ( ( ITest ) _testMember ! . GetValue ( _output ) ! ) . DisplayName , ".binlog" ) ;
136
137
CreateDeterministicTestPropsFile ( ) ;
138
+ UpdateNugetConfigWithLocalPackageFolder ( _testProjectPath ) ;
137
139
138
140
DotnetCli ( $ "build -c { _buildConfiguration } -bl:build.{ logFilename } --verbosity normal /p:DeterministicSourcePaths=true", out string standardOutput , out string standardError , _testProjectPath ) ;
139
141
if ( ! string . IsNullOrEmpty ( standardError ) )
@@ -181,6 +183,7 @@ public void Collectors()
181
183
string logFilename = string . Concat ( ( ( ITest ) _testMember ! . GetValue ( _output ) ! ) . DisplayName , ".binlog" ) ;
182
184
183
185
CreateDeterministicTestPropsFile ( ) ;
186
+ UpdateNugetConfigWithLocalPackageFolder ( _testProjectPath ) ;
184
187
DeleteLogFiles ( testLogFilesPath ) ;
185
188
DeleteCoverageFiles ( testResultPath ) ;
186
189
@@ -236,6 +239,7 @@ public void Collectors_SourceLink()
236
239
string logFilename = string . Concat ( ( ( ITest ) _testMember ! . GetValue ( _output ) ! ) . DisplayName , ".binlog" ) ;
237
240
238
241
CreateDeterministicTestPropsFile ( ) ;
242
+ UpdateNugetConfigWithLocalPackageFolder ( _testProjectPath ) ;
239
243
DeleteLogFiles ( testLogFilesPath ) ;
240
244
DeleteCoverageFiles ( testResultPath ) ;
241
245
0 commit comments