Skip to content
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

Prism.Avalonia Design Pattern Support #10

Open
DamianSuess opened this issue Jun 27, 2023 · 7 comments
Open

Prism.Avalonia Design Pattern Support #10

DamianSuess opened this issue Jun 27, 2023 · 7 comments

Comments

@DamianSuess
Copy link

DamianSuess commented Jun 27, 2023

Is your feature request related to a problem? Please describe.

I would like to create an application that supports Prism.Avalonia

Describe the solution you'd like

When creating a new application, I would like to be able to create one which uses Prism.Avalonia's framework for the MVVM design pattern.

Describe alternatives you've considered

I've used ReactiveUI in the past, however, I prefer to use the Prism library toolset which comes with Prism.Avalonia such as its Region Manager and Journaling for page navigation, Modules, DialogService and etc.

Additional context

Applies to platforms:

  • Linux
  • Windows
  • macOS
@DamianSuess
Copy link
Author

I was working on an extension to support this, however, I rather support the Avalonia ecosystem under one hood

@chenzanyu
Copy link

As a WPF developer, I am more familiar with Prism and would like to support Prism templates

@Coolkeke
Copy link

Highly recommended

@DamianSuess
Copy link
Author

DamianSuess commented Sep 22, 2023

Gonna give this a shot in my spare time and create a PR. If this is an unwanted feature, let me know sooner versus later

https://github.com/DamianSuess/TemplateStudio/tree/feature/PrismAvaloniaSupport

I am having an issue building even just main branch. Which configuration should I use for building/testing? There isn't one for Avalonia created, just WinUI, WPF, ALL. Even, when I choose, ALL it erases TemplateSutdioForWPF and causes builds to fail.

To get started, I tried following the CONTRIBUTING.md file but there are some gaps. To get it building, I did have to disable all Test projects (is this correct?). Perhaps in another PR, I can assist with updating the documentation and adding a .slnf specifically for Avalonia.

Any assistance/pointers would be appreciated.

Severity	Code	Description	Project	File	Line	Suppression State

Error	CS0535	'TestGenShellProject' does not implement interface member 'IGenShellProject.IsActiveProjectAvalonia()'	SharedFunctionality.Core.Tests	C:\work\xi\TemplateStudio\code\test\SharedFunctionality.Core.Tests\TestFakes\GenShell\TestGenShellProject.cs	10	Active

Error	CS1029	#error: 'Invalid configuration selected. You cannot use "Debug" or "Release", choose something else.'	SharedResources	C:\work\xi\TemplateStudio\code\SharedResources\TemplateStudioProject.cs	22	Active

@carlosxjose
Copy link

I am wondering if the Prism design PR of DamienSuess it's going to be merge and release....

I wish you could get this possible... Thanks

@DamianSuess
Copy link
Author

Yes, @carlosxjose, I'm still seeking assistance in building this project.
I will admit, I haven't had much time lately to commit to figuring out what wizardry needs to happen. Hopefully some time can be cleared up in the next few weeks.

@DamianSuess
Copy link
Author

DamianSuess commented Aug 27, 2024

I'v created a template pack for Prism.Avalonia which has been published to NuGet.org. Any chance this could be integrated into here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants