microsoft-authentication-library-for-dotnet
microsoft-authentication-library-for-dotnet copied to clipboard
Add net6 and net6-winX
For #3682
Changes proposed in this request
- Add net6 and net6-winX target.
- Update to error messages and tests is the same as in #3694
Current behavior: see issue. New behavior;
| App targets | MSAL target used | WAM | Embedded Browser |
|---|---|---|---|
| net6 | net6 | Error; use new WAM via MSAL.Broker | Error and cannot use MSAL.Desktop |
| net6-win | net6 | Error; use new WAM via MSAL.Broker | Error and cannot use MSAL.Desktop |
| net6-winX | net6-winX | Old WAM | Works |
| net5 | netcore2.1 | Error and cannot use MSAL.Desktop | Error and cannot use MSAL.Desktop |
| net5-win | netcore2.1 | Error and cannot use MSAL.Desktop | Error and cannot use MSAL.Desktop |
| net5-winX | net5-winX | Old WAM | Works |
| netcore2.1-3.1 | netcore2.1 | Error; use old WAM via MSAL.Desktop | Error; use MSAL.Desktop |
- The main difference with #3694 is that this doesn't break current net6-winX apps, they will target net6-winX, instead of net5-winX but old WAM and embedded browser will still work.
- In this case net6-winX and net5-winX essentially use the same code.
- Couldn't use a more generic net6-windows target because some Windows dependencies wouldn't load. windows17763 seems to be the lowest version possble.