-
Notifications
You must be signed in to change notification settings - Fork 0
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
Colors in Aspire logs are missing #119
Comments
Any update on this? I know it’s just a visual thing, but it used to work, and I would speculate that it’s a simple fix. |
There are no updates, and unfortunately it's not the easy one. It depends on how the IDE handles process output, and there is no convenient API to receive output with colors |
Hmm… But the colors are not missing in the IDE, but in the Aspire Dashboard. I’m not even sure how the Rider add-in can have an effect on how the Aspire Dashboard renders log output, but that is the case. Again, I’m pretty sure this used to work sometime before April 18th, when I reported this. |
Can this please be addressed? If I debug the apphost project without this plugin, I get colors in console logs but can't hit breakpoints or view console logs within the IDE. If I debug with this plugin, the console logs in the IDE and the aspire dashboard don't have any formatting or colors. This has to be just a random bug, given the colors come through when debugging apphost without the plugin. A little more information. When debugging with this plugin, the console output in the Debug window works perfectly. However, in the Aspire section of the Services window, when viewing an individual resource (not the apphost), the console output there and in the aspire dashboard is messed up beyond just colors and formatting. It doesn't show console logs as they happen and instead shows them all at once when the application ends and sometimes is just missing some with blank lines. The structured logs through open telemetry in aspire dashboard have the same issue. These issues don't exist when debugging the aspire host without the plugin |
Small visual bug. After upgrading to Rider 2024.1 and Aspire PlugIn 0.5.0, I've noticed that there are no colors on, e.g., info and warn in the Aspire Log files.
Here are two screenshots for running using the PlugIn vs. just running with the .NET project.
Running with .NET default (without using PlugIn):
Running with using PlugIn (notice no colors):
The text was updated successfully, but these errors were encountered: