Unable to build main following "Move to PGO Nuget" change #16182

Open
opened 2026-01-31 05:00:03 +00:00 by claunia · 0 comments
Owner

Originally created by @ianjoneill on GitHub (Dec 16, 2021).

Windows Terminal version

main 8dfdfc4

Windows build number

10.0.22000.376

Other Software

Visual Studio 2019

Steps to reproduce

Attempt to build the project in Visual Studio.

Expected Behavior

The project builds.

Actual Behavior

Lots of errors, referencing Microsoft.PGO-Helpers.Cpp.0.2.22

Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB4019	The imported project "F:\windows-terminal\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" was not found. Confirm that the expression in the Import declaration "F:\windows-terminal\build\PGO\..\..\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" is correct, and that the file exists on disk.	Microsoft.Terminal.Remoting	F:\windows-terminal\build\PGO\Terminal.PGO.props	44	
Error	MSB4019	The imported project "F:\windows-terminal\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" was not found. Confirm that the expression in the Import declaration "F:\windows-terminal\build\PGO\..\..\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" is correct, and that the file exists on disk.	Microsoft.Terminal.Control.Lib	F:\windows-terminal\build\PGO\Terminal.PGO.props	44	
Error	MSB4019	The imported project "F:\windows-terminal\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" was not found. Confirm that the expression in the Import declaration "F:\windows-terminal\build\PGO\..\..\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" is correct, and that the file exists on disk.	TerminalAzBridge	F:\windows-terminal\build\PGO\Terminal.PGO.props	44	
Error	MSB4019	The imported project "F:\windows-terminal\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" was not found. Confirm that the expression in the Import declaration "F:\windows-terminal\build\PGO\..\..\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" is correct, and that the file exists on disk.	Microsoft.Terminal.Settings.Model.Lib	F:\windows-terminal\build\PGO\Terminal.PGO.props	44	
Error	MSB4019	The imported project "F:\windows-terminal\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" was not found. Confirm that the expression in the Import declaration "F:\windows-terminal\build\PGO\..\..\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" is correct, and that the file exists on disk.	TerminalAppLib	F:\windows-terminal\build\PGO\Terminal.PGO.props	44	
Error	MSB4019	The imported project "F:\windows-terminal\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" was not found. Confirm that the expression in the Import declaration "F:\windows-terminal\build\PGO\..\..\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" is correct, and that the file exists on disk.	TerminalAppLib	F:\windows-terminal\build\PGO\Terminal.PGO.props	44	

If I attempt to do a nuget restore OpenConsole.sln I get a warning stating it can't read the project configuration.

F:\windows-terminal>nuget restore OpenConsole.sln
MSBuild auto-detection: using msbuild version '16.11.2.50704' from 'D:\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin'.
WARNING: Error reading msbuild project information, ensure that your input solution or project file is valid. NETCore and UAP projects will be skipped, only packages.config files will be restored.
All packages listed in packages.config are already installed.
Originally created by @ianjoneill on GitHub (Dec 16, 2021). ### Windows Terminal version main 8dfdfc4 ### Windows build number 10.0.22000.376 ### Other Software Visual Studio 2019 ### Steps to reproduce Attempt to build the project in Visual Studio. ### Expected Behavior The project builds. ### Actual Behavior Lots of errors, referencing Microsoft.PGO-Helpers.Cpp.0.2.22 ``` Severity Code Description Project File Line Suppression State Error MSB4019 The imported project "F:\windows-terminal\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" was not found. Confirm that the expression in the Import declaration "F:\windows-terminal\build\PGO\..\..\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" is correct, and that the file exists on disk. Microsoft.Terminal.Remoting F:\windows-terminal\build\PGO\Terminal.PGO.props 44 Error MSB4019 The imported project "F:\windows-terminal\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" was not found. Confirm that the expression in the Import declaration "F:\windows-terminal\build\PGO\..\..\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" is correct, and that the file exists on disk. Microsoft.Terminal.Control.Lib F:\windows-terminal\build\PGO\Terminal.PGO.props 44 Error MSB4019 The imported project "F:\windows-terminal\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" was not found. Confirm that the expression in the Import declaration "F:\windows-terminal\build\PGO\..\..\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" is correct, and that the file exists on disk. TerminalAzBridge F:\windows-terminal\build\PGO\Terminal.PGO.props 44 Error MSB4019 The imported project "F:\windows-terminal\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" was not found. Confirm that the expression in the Import declaration "F:\windows-terminal\build\PGO\..\..\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" is correct, and that the file exists on disk. Microsoft.Terminal.Settings.Model.Lib F:\windows-terminal\build\PGO\Terminal.PGO.props 44 Error MSB4019 The imported project "F:\windows-terminal\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" was not found. Confirm that the expression in the Import declaration "F:\windows-terminal\build\PGO\..\..\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" is correct, and that the file exists on disk. TerminalAppLib F:\windows-terminal\build\PGO\Terminal.PGO.props 44 Error MSB4019 The imported project "F:\windows-terminal\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" was not found. Confirm that the expression in the Import declaration "F:\windows-terminal\build\PGO\..\..\packages\Microsoft.PGO-Helpers.Cpp.0.2.22\build\Microsoft.PGO-Helpers.Cpp.props" is correct, and that the file exists on disk. TerminalAppLib F:\windows-terminal\build\PGO\Terminal.PGO.props 44 ``` If I attempt to do a `nuget restore OpenConsole.sln` I get a warning stating it can't read the project configuration. ``` F:\windows-terminal>nuget restore OpenConsole.sln MSBuild auto-detection: using msbuild version '16.11.2.50704' from 'D:\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin'. WARNING: Error reading msbuild project information, ensure that your input solution or project file is valid. NETCore and UAP projects will be skipped, only packages.config files will be restored. All packages listed in packages.config are already installed. ```
claunia added the Needs-TriageResolution-Fix-CommittedNeeds-Tag-Fix labels 2026-01-31 05:00:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16182