@@ -25,13 +25,12 @@ public void ProjectsThatDoNotSupportWorkloadsAreNotInspected()
25
25
. WithSource ( )
26
26
. Path ;
27
27
28
- new DotnetWorkloadCommand ( Log , "restore" )
28
+ new DotnetWorkloadCommand ( Log , "restore" , "--skip-manifest-update" )
29
29
. WithWorkingDirectory ( projectPath )
30
30
. WithEnvironmentVariable ( "DOTNETSDK_WORKLOAD_METADATA_DIR" , metadataDir )
31
31
. WithEnvironmentVariable ( "DOTNET_CLI_HOME" , testDirectory )
32
32
. WithEnvironmentVariable ( "DOTNET_NOLOGO" , "1" )
33
33
. WithEnvironmentVariable ( "DOTNET_SKIP_FIRST_TIME_EXPERIENCE" , "1" )
34
- . WithArguments ( "--skip-manifest-update" )
35
34
. Execute ( )
36
35
. Should ( )
37
36
// if we did try to restore the dcproj in this TestAsset we would fail, so passing means we didn't!
@@ -51,13 +50,12 @@ public void ProjectsThatDoNotSupportWorkloadsAndAreTransitivelyReferencedDoNotBr
51
50
. WithSource ( )
52
51
. Path ;
53
52
54
- new DotnetWorkloadCommand ( Log , "restore" )
53
+ new DotnetWorkloadCommand ( Log , "restore" , "--skip-manifest-update" )
55
54
. WithWorkingDirectory ( projectPath )
56
55
. WithEnvironmentVariable ( "DOTNETSDK_WORKLOAD_METADATA_DIR" , metadataDir )
57
56
. WithEnvironmentVariable ( "DOTNET_CLI_HOME" , testDirectory )
58
57
. WithEnvironmentVariable ( "DOTNET_NOLOGO" , "1" )
59
58
. WithEnvironmentVariable ( "DOTNET_SKIP_FIRST_TIME_EXPERIENCE" , "1" )
60
- . WithArguments ( "--skip-manifest-update" )
61
59
. Execute ( )
62
60
. Should ( )
63
61
// if we did try to restore the esproj in this TestAsset we would fail, so passing means we didn't!
0 commit comments