You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Get lightweight, modular libraries tailored to single responsibilities.
59
-
- Add missing building blocks to your projects without introducing a heavyweight framework.
59
+
- Add missing building blocks to your projects without introducing a heavyweight framework.
60
+
61
+
## 📌 .NET and dependency compatibility
62
+
63
+
All [PosInformatique.Foundations](https://github.com/PosInformatique/PosInformatique.Foundations) packages are designed to be compatible with **.NET 8.0**, **.NET 9.0** and **.NET 10.0**.
64
+
65
+
To maximize backward compatibility with existing projects, dependencies on external libraries (such as `Microsoft.Graph`, etc.)
66
+
intentionally target **relatively old versions**. This avoids forcing you to update your entire solution to the
67
+
latest versions used internally by PosInformatique.Foundations.
68
+
69
+
> Important: It is the responsibility of the application developer to explicitly reference and update
70
+
any **transitive dependencies** in their own project if they want to use newer versions.
71
+
> See [NuGet dependency resolution](https://learn.microsoft.com/en-us/nuget/concepts/dependency-resolution)
72
+
and [transitive dependencies in Visual Studio](https://devblogs.microsoft.com/dotnet/introducing-transitive-dependencies-in-visual-studio/)
73
+
for more details.
74
+
75
+
### Example with Microsoft.Graph
76
+
77
+
The [PosInformatique.Foundations.Emailing.Graph](https://www.nuget.org/packages/[PosInformatique.Foundations.Emailing.Graph/)
78
+
package depends on [Microsoft.Graph](https://www.nuget.org/packages/Microsoft.Graph/)**5.35.0**
79
+
for backward compatibility with a wide range of existing projects.
80
+
81
+
If your application requires a newer version, you can simply add an explicit reference in your project, for example:
0 commit comments