@@ -123,7 +123,7 @@ public void FilePath(string? path, bool differentCasing)
123123 /// <summary>
124124 /// <c>dotnet file.cs</c> is equivalent to <c>dotnet run file.cs</c>.
125125 /// </summary>
126- [ Fact ( Skip = "Waiting for VMR codeflow from runtime: https://github.com/dotnet/dotnet/pull/1563" ) ]
126+ [ Fact ]
127127 public void FilePath_WithoutRun ( )
128128 {
129129 var testInstance = _testAssetsManager . CreateTestDirectory ( ) ;
@@ -225,7 +225,7 @@ public void FilePath_AsProjectArgument()
225225 /// <summary>
226226 /// Even if there is a file-based app <c>./build</c>, <c>dotnet build</c> should not execute that.
227227 /// </summary>
228- [ Theory ( Skip = "Waiting for VMR codeflow from runtime: https://github.com/dotnet/dotnet/pull/1563" ) ]
228+ [ Theory ]
229229 // error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
230230 [ InlineData ( "build" , "MSB1003" ) ]
231231 // dotnet watch: Could not find a MSBuild project file in '...'. Specify which project to use with the --project option.
@@ -446,42 +446,6 @@ Hello from App
446446 """ ) ;
447447 }
448448
449- [ Fact ( Skip = " Waiting for VMR codeflow from runtime: https://github.com/dotnet/dotnet/pull/1563" ) ]
450- public void ProjectInCurrentDirectory_NoRunVerb ( )
451- {
452- var testInstance = _testAssetsManager . CreateTestDirectory ( ) ;
453- Directory . CreateDirectory ( Path . Join ( testInstance . Path , "file" ) ) ;
454- File . WriteAllText ( Path . Join ( testInstance . Path , "file" , "Program.cs" ) , s_program ) ;
455- Directory . CreateDirectory ( Path . Join ( testInstance . Path , "proj" ) ) ;
456- File . WriteAllText ( Path . Join ( testInstance . Path , "proj" , "App.csproj" ) , s_consoleProject ) ;
457-
458- new DotnetCommand ( Log , "../file/Program.cs" )
459- . WithWorkingDirectory ( Path . Join ( testInstance . Path , "proj" ) )
460- . Execute ( )
461- . Should ( ) . Pass ( )
462- . And . HaveStdOutContaining ( """
463- Hello from Program
464- """ ) ;
465- }
466-
467- [ Fact ]
468- public void ProjectInCurrentDirectory_FileOption ( )
469- {
470- var testInstance = _testAssetsManager . CreateTestDirectory ( ) ;
471- Directory . CreateDirectory ( Path . Join ( testInstance . Path , "file" ) ) ;
472- File . WriteAllText ( Path . Join ( testInstance . Path , "file" , "Program.cs" ) , s_program ) ;
473- Directory . CreateDirectory ( Path . Join ( testInstance . Path , "proj" ) ) ;
474- File . WriteAllText ( Path . Join ( testInstance . Path , "proj" , "App.csproj" ) , s_consoleProject ) ;
475-
476- new DotnetCommand ( Log , "run" , "--file" , "../file/Program.cs" )
477- . WithWorkingDirectory ( Path . Join ( testInstance . Path , "proj" ) )
478- . Execute ( )
479- . Should ( ) . Pass ( )
480- . And . HaveStdOutContaining ( """
481- Hello from Program
482- """ ) ;
483- }
484-
485449 /// <summary>
486450 /// When a file is not a .cs file, we probe the first characters of the file for <c>#!</c>, and
487451 /// execute as a single file program if we find them.
0 commit comments