@@ -189,7 +189,7 @@ public void ConsoleBuildAndRunDefault(string config, bool relinking)
189189 => ConsoleBuildAndRun ( config , relinking , string . Empty ) ;
190190
191191 [ ConditionalTheory ( typeof ( BuildTestBase ) , nameof ( IsUsingWorkloads ) ) ]
192- [ InlineData ( "Debug" , "-f net7.0" ) ] //FIXME: -- enable when updated template packages are available
192+ [ InlineData ( "Debug" , "-f net7.0" ) ]
193193 [ InlineData ( "Debug" , "-f net8.0" ) ]
194194 public void ConsoleBuildAndRunForSpecificTFM ( string config , string extraNewArgs )
195195 => ConsoleBuildAndRun ( config , false , extraNewArgs ) ;
@@ -243,9 +243,9 @@ void AddTestData(bool forConsole, bool runOutsideProjectDirectory)
243243 //data.Add(runOutsideProjectDirectory, forConsole, string.Empty);
244244
245245 data . Add ( runOutsideProjectDirectory , forConsole ,
246- $ "<OutputPath>{ Path . Combine ( Path . GetTempPath ( ) , Path . GetRandomFileName ( ) ) } </OutputPath>") ;
246+ $ "<OutputPath>{ Path . Combine ( BuildEnvironment . TmpPath , Path . GetRandomFileName ( ) ) } </OutputPath>") ;
247247 data . Add ( runOutsideProjectDirectory , forConsole ,
248- $ "<WasmAppDir>{ Path . Combine ( Path . GetTempPath ( ) , Path . GetRandomFileName ( ) ) } </WasmAppDir>") ;
248+ $ "<WasmAppDir>{ Path . Combine ( BuildEnvironment . TmpPath , Path . GetRandomFileName ( ) ) } </WasmAppDir>") ;
249249 }
250250
251251 return data ;
@@ -268,7 +268,7 @@ private async Task BrowserRunTwiceWithAndThenWithoutBuildAsync(string config, st
268268 if ( ! string . IsNullOrEmpty ( extraProperties ) )
269269 AddItemsPropertiesToProject ( projectFile , extraProperties : extraProperties ) ;
270270
271- string workingDir = runOutsideProjectDirectory ? Path . GetTempPath ( ) : _projectDir ! ;
271+ string workingDir = runOutsideProjectDirectory ? BuildEnvironment . TmpPath : _projectDir ! ;
272272
273273 {
274274 using var runCommand = new RunCommand ( s_buildEnv , _testOutput )
@@ -302,7 +302,7 @@ private Task ConsoleRunWithAndThenWithoutBuildAsync(string config, string extraP
302302 if ( ! string . IsNullOrEmpty ( extraProperties ) )
303303 AddItemsPropertiesToProject ( projectFile , extraProperties : extraProperties ) ;
304304
305- string workingDir = runOutsideProjectDirectory ? Path . GetTempPath ( ) : _projectDir ! ;
305+ string workingDir = runOutsideProjectDirectory ? BuildEnvironment . TmpPath : _projectDir ! ;
306306
307307 {
308308 string runArgs = $ "run -c { config } --project { projectFile } ";
@@ -443,7 +443,7 @@ public async Task BlazorRunTest()
443443
444444 [ ConditionalTheory ( typeof ( BuildTestBase ) , nameof ( IsUsingWorkloads ) ) ]
445445 [ InlineData ( "" ) ]
446- [ InlineData ( "-f net7.0" ) ] //FIXME: -- enable when updated template packages are available
446+ [ InlineData ( "-f net7.0" ) ]
447447 [ InlineData ( "-f net8.0" ) ]
448448 public async Task BrowserBuildAndRun ( string extraNewArgs )
449449 {
0 commit comments