Skip to content
Discussion options

You must be logged in to vote

As with anything (in software development): it depends.

If this is a library that is shared with the public, you probably want to be as compatible as possible, which means: the dependency on MAUI should be as low as possible. Additionally, you probably don't want that to version to change when the workload updates, especially if you are using hosted build agents that are outside of your control. And that is exactly what $(MauiVersion) does.

So assuming all these things:

  • You're using a hosted build agent and may or may not pin the workload version
  • This library is something that the public will use
  • You don't depend on any specific added API/fix in a specific MAUI version

Keep the dependen…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AndreasReitberger
Comment options

Answer selected by AndreasReitberger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants