monke
`OperatingSystem.IsAndroid()` Alternative for .NET Standard 2.0
Currently we have:
- Legacy monolithic ASP.NET application (.NET Framework)
- Legacy Xamarin app
- New API (.NET 8)
- New API client library (.NET 8)
- New MAUI app < -- Uses the New API client library
- New Blazor Web (.NET 8) < -- Uses the New API client library
And would like to add the API Client library to the legacy application so we can start moving more parts of it to the new API
105 replies
`OperatingSystem.IsAndroid()` Alternative for .NET Standard 2.0
I have been working with .NET Framework stuff since about 2020 and started migrating parts of this app to .NET in 2022, this is my first time trying to do anything with .NET Standard since I've never had to share code between them before
105 replies
`OperatingSystem.IsAndroid()` Alternative for .NET Standard 2.0
Yeah I looked in that repo to see what this class did, coped it and it doesn't work
https://github.com/dotnet/runtime/blob/main/src/libraries/System.Private.CoreLib/src/System/OperatingSystem.cs#L201
105 replies