Skip to content

Override the target framework

Peter M edited this page Mar 18, 2022 · 3 revisions

In rare circumstances you might want to override NuGet's algorithm of determining the framework version of MSAL. This is useful if you have a confidential client application and need to target net5.0-windows10.x because MSAL uses WinForms on these platforms, which leads to build errors in some environments (e.g. Azure Functions).

Please see https://github.com/bgavrilMS/TfmOverride for a proof of concept on how to do this.

Getting started with MSAL.NET

Acquiring tokens

Desktop/Mobile apps

Web Apps / Web APIs / daemon apps

Advanced topics

News

FAQ

Other resources

Clone this wiki locally