anchor.diff:    });
   
     testUsingContext('Windows profile build passes Profile configuration', () async {
  -    final BuildWindowsCommand command = BuildWindowsCommand()
  -      ..visualStudioOverride = mockVisualStudio;
  -    setUpMockProjectFilesForBuild();
  -    when(mockVisualStudio.cmakePath).thenReturn(cmakePath);
  +    final FakeVisualStudio fakeVisualStudio = FakeVisualStudio(cmakePath);
  +    final BuildWindowsCommand command = BuildWindowsCommand()
  +      ..visualStudioOverride = fakeVisualStudio;
  +    setUpMockProjectFilesForBuild();
   
       processManager = FakeProcessManager.list(<FakeCommand>[
         cmakeGenerationCommand(),
  
positive.code:   });
  
    testUsingContext('Windows verbose build sets VERBOSE_SCRIPT_LOGGING', () async {
      final BuildWindowsCommand command = BuildWindowsCommand()
        ..visualStudioOverride = mockVisualStudio;
      setUpMockProjectFilesForBuild();
      when(mockVisualStudio.cmakePath).thenReturn(cmakePath);
  
      processManager = FakeProcessManager.list(<FakeCommand>[
        cmakeGenerationCommand(),
  
negative.code:   });
  
    testUsingContext('Windows build extracts errors from stdout', () async {
      final FakeVisualStudio fakeVisualStudio = FakeVisualStudio(cmakePath);
      final BuildWindowsCommand command = BuildWindowsCommand()
        ..visualStudioOverride = fakeVisualStudio;
      setUpMockProjectFilesForBuild();
  
      // This contains a mix of routine build output and various types of errors
      // (compile error, link error, warning treated as an error) from MSBuild,
  