mrlacey / MauiAppAccelerator

A Visual Studio extension to accelerate the creation of new .NET MAUI apps.
https://marketplace.visualstudio.com/items?itemName=MattLaceyLtd.MauiAppAccelerator
MIT License
352 stars 10 forks source link

Support VisualStudio on macOS #16

Closed roughiain closed 1 year ago

roughiain commented 1 year ago

Currently, the plugin only supports VisualStudio on windows and not on macOS.

mrlacey commented 1 year ago

The extensibility options for Visual Studio (for Windows) and Visual Studio for Mac are almost completely different, and MAUI App Accelerator is built in a way that is heavily reliant on many internal features of VS (for Windows)

While I'd like to do this, it's not a priority, and due to the considerable amount of work involved (including verifying it's even possible) it is unlikely to happen for some time.

roughiain commented 1 year ago

@mrlacey thanks for the response, would it be possible to convert it into some sort of cli/DotNet tool? Thanks for the excellent tool.

mrlacey commented 1 year ago

@mrlacey thanks for the response, would it be possible to convert it into some sort of cli/DotNet tool? Thanks for the excellent tool.

Again the VS (for Windows) dependencies limit what can easily be done here. The UI is written in WPF (Framework 4.8) for integration with VS. Making this cross-platform would be a lot of work and likely introduce new issues.

Also, the complexity (number of options) in terms of what is possible with the wizard don't easily sit with being a command-line tool. If command line options were added there would need to be switches for every available option, and for pages there would need to be the ability to add more than one item, rename them and be able to change the order. It would very quickly become too much for anyone without the greatest of memories to be able to remember what can be entered and the appropriate syntax to get the output they desire. There are other CLI tools that can generate MAUI apps and have options for some of the features in MAA (and a few beyond) but they don't have the options for adding multiple, nameable pages/views. Additionally, I know of at least 3 projects that are building UIs on top of their existing CLI tooling because the advanced scenarios they want to offer are better suited to a visual interface.

Do you have a specific use case that makes cli tooling necessary? There may be another approach I can suggest.

roughiain commented 1 year ago

The only use case is that I'm not developing using VisualStudio for windows and the only other options for this is a cli tool or program that runs in the terminal. It seems VS4Mac2022 is an own goal when it come to plugins. Thanks again for you response, feel free to close the ticket.

mrlacey commented 1 year ago

Leaving open to gather any more feedback on a VS4Mac version. Who knows. Maybe one day it will become easier to develop an extension that works on Windows & Mac

roughiain commented 1 year ago

Maybe they will port it to AvaloniaUI, or do something similar internaly. We can only hope.

roughiain commented 1 year ago

Guess we can close this issue now with VsMac being discontinued.

mrlacey commented 1 year ago

Guess we can close this issue now with VsMac being discontinued.

Yes, :(