So I was upgrading my UWP solution to WindowsAppSDK and Winui3 when I noticed this error that Microsoft.Identity.Client doesnt seem to have WithUseCorporateNetwork method anymore in the build pipeline of PublicClientApplicationBuilder which produces the following error :
PublicClientApplicationBuilder does not contain a definition for WithUseCorporateNetwork
I have tried multiple versions like 4.42.0 and 4.46.0 but they dont work.
The project containing this code is a WINUI3/WindowsAppSDK class library, based on Dotnet 6