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

Closed
opened 2026-01-31 05:00:08 +00:00 by claunia · 3 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:08 +00:00
Author
Owner

@DHowett commented on GitHub (Dec 16, 2021):

Yeah, we should not depend on this package outside of CI or local PGO testing.

For now, does it unblock you to nuget restore build/packages.config?

@DHowett commented on GitHub (Dec 16, 2021): _Yeah_, we should not depend on this package outside of CI or local PGO testing. For now, does it unblock you to `nuget restore build/packages.config`?
Author
Owner

@miniksa commented on GitHub (Dec 16, 2021):

Sorry @ianjoneill. I didn't notice because my machine already had the package from screwing around trying to set it up. I believe I fixed it quick and tried with a fresh repo in #11981.

@miniksa commented on GitHub (Dec 16, 2021): Sorry @ianjoneill. I didn't notice because my machine already had the package from screwing around trying to set it up. I believe I fixed it quick and tried with a fresh repo in #11981.
Author
Owner

@ianjoneill commented on GitHub (Dec 17, 2021):

Thanks for the explanation and the quick fix. Happy holidays!

@ianjoneill commented on GitHub (Dec 17, 2021): Thanks for the explanation and the quick fix. Happy holidays!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16185