-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad State Exception #388
Comments
I have the same issue |
I tried with Visual Studio 16.16.0, the problem persists. I think it may depend on #389 |
I have the same issue. Visual Studio Enterprise 2019 Version 16.10.4. |
This only seems to apply to VS2019. I cannot reproduce is in VS2022. Can someone who hits this please confirm whether they are opening the logs internally or externally? If it's the internal viewer that's hitting this, the workaround may be to use the external viewer (which has more features anyway): https://msbuildlog.com/ |
Describe the bug
When using Build Logging in a solution that contains a project in SDK-Style format. If you open log, the Bad State exception is displayed.
How Reproduce
Workaround
nothing
Diagnosis
Of the diagnosis I made the exception depends on the following lines:
project-system-tools/src/LogModel/Builder/ModelBuilder.cs
Lines 252 to 259 in f214836
project-system-tools/src/LogModel/Builder/ModelBuilder.cs
Line 302 in f214836
There is something wrong with the conditions. If comment the log is displayed.
I would like to create a PR to correct the conditions, but not knowing the precise meaning, I would not want to introduce other problems.
Environment
Visual Studio: Microsoft Visual Studio Community 2019 Build 16.9.4+31205.134
Project System Tools: 1.0.1.2010501
Screenshot
The text was updated successfully, but these errors were encountered: