KirillOsenkov / MSBuildStructuredLog

A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.
MIT License
1.41k stars 188 forks source link

[WIP] Upgrade to Avalonia 11.0 + add Browser project #645

Open maxkatz6 opened 1 year ago

maxkatz6 commented 1 year ago

Opening this PR as I thought it should be pretty easy to migrate, but also opens some nice possibilities. I will push changes to this branch once in a while, updating it with newer Avalonia builds.

What I want to do in this PR

Out of scope, but could be done

maxkatz6 commented 1 year ago

Sneak peek of browser support. Anybody can checkout and run browser project. Keep in mind you need .NET 7.0 and "warm-tools" and "wasm-experimental" workloads installed.

image

KirillOsenkov commented 1 year ago

I didn't have time to maintain the Avalonia part, so thanks a lot of giving it a refresh! Much appreciated. Don't worry about the changes to the Avalonia version, and let me know if you need to change something in Core or the logger projects.

The Windows (WPF) half has more features that I didn't have time to add to Avalonia and was hoping someone would come along and keep the Avalonia version in sync. Sorry about that. Nothing easier than "walk both versions line by line and see what is missing from Avalonia" comes to mind.

Mention me here if you need my help or have questions.

KirillOsenkov commented 1 year ago

Oh, and whenever you're happy with the browser version, we can start publishing it at https://avalonia.msbuildlog.com or something (let me know if you can think of a better URL). https://live.msbuildlog.com is already taken by the Blazor version that lives in the live branch. It also desperately needs some UX improvements.

kant2002 commented 1 year ago

@maxkatz6 maybe you can wrap this up? I think this is good progress for MsBuildogViewer on Avalonia.

maxkatz6 commented 1 year ago

@kant2002 I am primarily waiting for preview5 to be released + some spare time. There are some breaking changes comparing to preview4, so I want to handle it as early.

maxkatz6 commented 1 year ago

@KirillOsenkov I have done minimal changes what I had planned. Remaining improvements can be done independently later. The only problem left is to get CI working. I will come back on the weekends, but if you have idea, how to fix it - please let me know.

slang25 commented 11 months ago

The wasm app is so damn cool! I'd really like to see this make its way to a hosted public site, like a fancier version of https://live.msbuildlog.com/ Are you planning on picking this up again @maxkatz6 now that Avalonia 11 is out of preview?