Unable to build with Visual Studio 2019 version 16.2.0 #2995

Closed
opened 2026-01-30 23:10:29 +00:00 by claunia · 6 comments
Owner

Originally created by @ajaykagrawal on GitHub (Jul 29, 2019).

Originally assigned to: @zadjii-msft on GitHub.

Environment

Windows build number: Version 10.0.18362.267

Steps to reproduce

Update to the latest Visual Studio 2019 (16.2.0)
Build Terminal (you will get a compiler error)

(I had no issues building with 16.1.0)

Expected behavior

Terminal should build without any errors

Actual behavior

Here is the error:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2106,5): error MSB3272: There was a problem reading the implementation file "C:\Users\Ajay\microsoft\terminal\x64\Release\TerminalAppLib\TerminalAppLib.lib". "Unable to read beyond the end of the stream."

Possibly related to https://github.com/microsoft/msbuild/issues/4547

Originally created by @ajaykagrawal on GitHub (Jul 29, 2019). Originally assigned to: @zadjii-msft on GitHub. # Environment Windows build number: Version 10.0.18362.267 # Steps to reproduce Update to the latest Visual Studio 2019 (16.2.0) Build Terminal (you will get a compiler error) (I had no issues building with 16.1.0) # Expected behavior Terminal should build without any errors # Actual behavior Here is the error: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2106,5): error MSB3272: There was a problem reading the implementation file "C:\Users\Ajay\microsoft\terminal\x64\Release\TerminalAppLib\TerminalAppLib.lib". "Unable to read beyond the end of the stream." <!-- What's actually happening? --> Possibly related to https://github.com/microsoft/msbuild/issues/4547
Author
Owner

@DHowett-MSFT commented on GitHub (Jul 29, 2019):

We're the ones who reported that issue! Is this in the TerminalApp.UnitTests project or the TerminalApp project?

@DHowett-MSFT commented on GitHub (Jul 29, 2019): We're the ones who reported that issue! Is this in the `TerminalApp.UnitTests` project or the `TerminalApp` project?
Author
Owner

@ajaykagrawal commented on GitHub (Jul 29, 2019):

We're the ones who reported that issue! I
Oops! Perhaps the MSBuild team should use Terminal in its regression test suite!

Is this in the TerminalApp.UnitTests
Yes in the TerminalApp.UnitTests

@ajaykagrawal commented on GitHub (Jul 29, 2019): >>We're the ones who reported that issue! I Oops! Perhaps the MSBuild team should use Terminal in its regression test suite! >>Is this in the TerminalApp.UnitTests Yes in the TerminalApp.UnitTests
Author
Owner

@DHowett-MSFT commented on GitHub (Jul 29, 2019):

We missed that one with our workaround. 😄

@DHowett-MSFT commented on GitHub (Jul 29, 2019): We missed that one with our workaround. :smile:
Author
Owner

@ajaykagrawal commented on GitHub (Jul 29, 2019):

Managed to get the deploy done by commenting out UnitTests_TerminalApp from the configuration. (Every few hours or so I do a git pull and build a new version of the Terminal app. This is how much addicted I am to this app!)

@ajaykagrawal commented on GitHub (Jul 29, 2019): Managed to get the deploy done by commenting out UnitTests_TerminalApp from the configuration. (Every few hours or so I do a git pull and build a new version of the Terminal app. This is how much addicted I am to this app!)
Author
Owner

@mbreaton commented on GitHub (Aug 6, 2019):

Easier to just unload the project. This avoids any src changes and git pull will work normally

@mbreaton commented on GitHub (Aug 6, 2019): Easier to just **unload** the project. This avoids any src changes and git pull will work normally
Author
Owner

@hh-shiung commented on GitHub (Aug 8, 2019):

Where in the solution would you comment it out from configuration? Unloading the project did not work for me.

@hh-shiung commented on GitHub (Aug 8, 2019): Where in the solution would you comment it out from configuration? Unloading the project did not work for me.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2995