我正在尝试在我的 iOS 应用程序中与 Microsoft Graph 集成。我正在 XCode 上使用 Swift 进行开发。我按照这个教程进行操作:
当我单击连接并输入我的登录详细信息时,它不断向我显示以下错误消息。我尝试过调试,它进入 acquireTokenInteractively() 并打印错误。
我已在 Microsoft 应用程序门户上注册了我的应用程序,在应用程序的功能选项卡上启用了钥匙串共享等,但不太确定为什么这不起作用。
感谢您的帮助。
import UIKit
import MSAL
class ViewController: UIViewController, UITextFieldDelegate, URLSessionDelegate {
// Update the below to your client ID you received in the portal. The below is for running the demo only
let kClientID = "a88969f1-61c7-4322-a9a0-9212bb96b782"
// These settings you don't need to edit unless you wish to attempt deeper scenarios with the app.
let kGraphURI = "https://graph.microsoft.com/v1.0/me/"
//let kScopes: [String] = ["https://graph.microsoft.com/user.read"] …Run Code Online (Sandbox Code Playgroud) 我正在尝试运行 Linqer(一个用于 sql -> linq 的程序),并在创建数据库连接并尝试生成“linq to sql 模型文件”时出现此错误。
错误:文件C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools/SqlMetal.exe not found
我的文件位于文件夹中:C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools,
如何将其设置为使用 v10.0A 而不是 v8?
我已检查我已在 Visual Studio 上安装了所有 microsoft SDK。我该如何为此设置正确的路径?我将不胜感激任何帮助!谢谢