我跟随quick start下载了UWP应用程序的Visual Studio项目,以将Azure AD v2.0终结点与Microsoft身份验证库(MSAL)预览结合使用。
建造时会收到警告
Severity Code Description Project File Line Suppression State
Warning NU1605 Detected package downgrade: Microsoft.NETCore.UniversalWindowsPlatform from 6.0.8 to 5.2.3. Reference the package directly from the project to select a different version.
active-directory-dotnet-native-uwp-v2 -> Microsoft.Identity.Client 2.3.1-preview -> Microsoft.NETCore.UniversalWindowsPlatform (>= 6.0.8)
active-directory-dotnet-native-uwp-v2 -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.2.3) active-directory-dotnet-native-uwp-v2 C:\azure-samples\active-directory-dotnet-native-uwp-v2-master\active-directory-dotnet-native-uwp-v2\active-directory-dotnet-native-uwp-v2.csproj 1
当我在Nuget Manage Packages中寻找解决方案时,对于Microsoft.Identity.Client只有一个选项是2.3.1预览版,而对于Microsoft.NETCore.UniversalWindowsPlatform则只有一个选项是最新的稳定版5.2.3
当我按照程序包管理器控制台上的说明进行操作时,警告会再次出现。
Install-Package Microsoft.Identity.Client -Pre
我正在使用Windows 10 1809和SDK 17763