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

Resolving IRegionMemberLifetime Version Conflict in .NET MAUI with Prism 9.0.2.71 #3011

Closed
dansiegel opened this issue Nov 17, 2023 Discussed in #3010 · 0 comments · Fixed by #3012
Closed

Resolving IRegionMemberLifetime Version Conflict in .NET MAUI with Prism 9.0.2.71 #3011

dansiegel opened this issue Nov 17, 2023 Discussed in #3010 · 0 comments · Fixed by #3012

Comments

@dansiegel
Copy link
Member

Discussed in #3010

Originally posted by pAtMaN-bcassa November 17, 2023
I'm working on a .NET MAUI project using Prism.DryIoc.Maui 9.0.2.71-pre with .net 8, and I've encountered a version conflict issue with the IRegionMemberLifetime interface. The conflict arises because this interface appears to be present in both Prism.Maui and Prism assemblies, leading to the following error:

Error CS0433: The type 'IRegionMemberLifetime' exists in both 'Prism.Maui, Version=9.0.271.34483, Culture=neutral, PublicKeyToken=null' and 'Prism, Version=9.0.271.34483, Culture=neutral, PublicKeyToken=40ee6c3a2184dc59'

Example:
public class ExampleViewModel : ViewModelBase, IRegionAware, IRegionMemberLifetime

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

Successfully merging a pull request may close this issue.

1 participant