Running local tests fails on clean machine: framework Microsoft.VCLibs.140.00.Debug missing #17119

Open
opened 2026-01-31 05:32:44 +00:00 by claunia · 2 comments
Owner

Originally created by @EmJayGee on GitHub (Mar 29, 2022).

Windows Terminal version

commit 0bc66abd3b

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
Originally created by @EmJayGee on GitHub (Mar 29, 2022). ### 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 ```
claunia added the Help WantedIssue-BugProduct-TerminalIssue-DocsArea-CodeHealth labels 2026-01-31 05:32:45 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Mar 31, 2022):

Huh. We should probably note that that's required for the tests. (idly) I wonder if TAEF ever did add support for pulling down framework packages when deploying test manifests.

Alternatively, we could use this to track "get the localtests to ship the VCLibs in package, like the main Terminal package".

@zadjii-msft commented on GitHub (Mar 31, 2022): Huh. We should probably note that that's required for the tests. (idly) I wonder if TAEF ever did add support for pulling down framework packages when deploying test manifests. Alternatively, we could use this to track "get the localtests to ship the VCLibs in package, like the main Terminal package".
Author
Owner

@zadjii-msft commented on GitHub (Jun 22, 2022):

https://github.com/microsoft/terminal/issues/3838#issuecomment-1163356576 has some additional notes

@zadjii-msft commented on GitHub (Jun 22, 2022): https://github.com/microsoft/terminal/issues/3838#issuecomment-1163356576 has some additional notes
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17119