Repository: terminal
Issue: Running local tests fails on clean machine: framework Microsoft.VCLibs.140.00.Debug missing
Labels: Help Wanted,Issue-Docs,Issue-Bug,Product-Terminal,Area-CodeHealth

### Windows Terminal version

commit 0bc66abd3b9777200178ca2f4760eaee7ab72812

### Windows build number

10.0.19044.1620

### Other Software

n/a

### Steps to reproduce

Clean install Windows; follow instructions for getting started as a contributor, build debug configuration from CMD and then do "runut" from the root of the project.

Reproduces in retail also once you fix the build breaks in the tests. ;-)

### Expected Behavior

Unit tests run clean.

### Actual Behavior

```
Summary of Errors Outside of Tests:
    Error: TAEF: [HRESULT: 0x80073CF3] Failed to create the test host process for out of process test execution. (Package installation call failed for C:\Users\micha\source\repos\Clean\terminal\bin\x64\Debug\TestHostApp\AppXManifest.xml. (Activity ID: {5A5FD82A-406F-0003-B766-635A6F40D801}; Error Text: "Windows cannot install package WindowsTerminal.TestHost_1.0.0.0_x64__aq7gd5554gxm8 because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.Debug" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30704.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.Debug" currently installed are: {}"; Extended Error Code: 0x80073CF3))
    Error: TAEF: [HRESULT: 0x80073CF3] Failed to create the test host process for out of process test execution. (Package installation call failed for C:\Users\micha\source\repos\Clean\terminal\bin\x64\Debug\TestHostApp\AppXManifest.xml. (Activity ID: {5A5FD82A-406F-0003-B966-635A6F40D801}; Error Text: "Windows cannot install package WindowsTerminal.TestHost_1.0.0.0_x64__aq7gd5554gxm8 because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.Debug" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30704.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.Debug" currently installed are: {}"; Extended Error Code: 0x80073CF3))
    Error: TAEF: [HRESULT: 0x80073CF3] Failed to create the test host process for out of process test execution. (Package installation call failed for C:\Users\micha\source\repos\Clean\terminal\bin\x64\Debug\TestHostApp\AppXManifest.xml. (Activity ID: {5A5FD82A-406F-0003-C066-635A6F40D801}; Error Text: "Windows cannot install package WindowsTerminal.TestHost_1.0.0.0_x64__aq7gd5554gxm8 because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.Debug" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30704.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.Debug" currently installed are: {}"; Extended Error Code: 0x80073CF3))
    Error: TAEF: [HRESULT: 0x80073CF3] Failed to create the test host process for out of process test execution. (Package installation call failed for C:\Users\micha\source\repos\Clean\terminal\bin\x64\Debug\TestHostApp\AppXManifest.xml. (Activity ID: {5A5FD82A-406F-0004-59C1-655A6F40D801}; Error Text: "Windows cannot install package WindowsTerminal.TestHost_1.0.0.0_x64__aq7gd5554gxm8 because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.Debug" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30704.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.Debug" currently installed are: {}"; Extended Error Code: 0x80073CF3))
    Error: TAEF: [HRESULT: 0x80073CF3] Failed to create the test host process for out of process test execution. (Package installation call failed for C:\Users\micha\source\repos\Clean\terminal\bin\x64\Debug\TestHostApp\AppXManifest.xml. (Activity ID: {5A5FD82A-406F-0003-CF66-635A6F40D801}; Error Text: "Windows cannot install package WindowsTerminal.TestHost_1.0.0.0_x64__aq7gd5554gxm8 because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.Debug" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30704.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.Debug" currently installed are: {}"; Extended Error Code: 0x80073CF3))

Summary of Non-passing Tests (showing 20 of 169):
    TerminalAppLocalTests::CommandlineTest::ParseSimpleCommandline [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseTrickyCommandlines [Blocked]
    TerminalAppLocalTests::CommandlineTest::TestEscapeDelimiters [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSimpleHelp#metadataSet0 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSimpleHelp#metadataSet1 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSimpleHelp#metadataSet2 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSimpleHelp#metadataSet3 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseBadOptions#metadataSet0 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseBadOptions#metadataSet1 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseBadOptions#metadataSet2 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSubcommandHelp#metadataSet0 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSubcommandHelp#metadataSet1 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSubcommandHelp#metadataSet2 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSubcommandHelp#metadataSet3 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseBasicCommandlineIntoArgs [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseNewTabCommand#metadataSet0 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseNewTabCommand#metadataSet1 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSplitPaneIntoArgs#metadataSet0 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSplitPaneIntoArgs#metadataSet1 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseComboCommandlineIntoArgs#metadataSet0 [Blocked]

Summary: Total=7543, Passed=7374, Failed=0, Blocked=164, Not Run=0, Skipped=5
C:\Users\micha\source\repos\Clean\terminal>git show
```