Skip to content

VisualStudio Output Debug enhance #33

@sandichhuu

Description

@sandichhuu

Hello, have a nice day.
I facing an issue need to support today.

On Avalonia project using new .net version (6,7,8,9,10), the project has property on csproj:

<Nullable>enable</Nullable>

Then ViewModel should be:

[ObservableProperty] private string? imageUrl;

Or sometime I need to set emptyString to url at start to avoid null sign "?", this should be:

const string EmptyString = "";
[ObservableProperty] private string imageUrl = EmptyString;

This way make Output panel of VisualStudio going like this:
Image

VisualStudio Ouput has no filter, so I think we should remove logging on this case:
If URL is null or empty => Ignore
Else => If download image from URL failed => Log.

Thank you for reading and supporting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions