gpt4 book ai didi

c# - UWP 不支持的 API

转载 作者:太空宇宙 更新时间:2023-11-04 13:05:10 24 4
gpt4 key购买 nike

我正在尝试将我的 UWP 应用程序发布到 Windows 应用商店,但我遇到了 API 不受支持的问题。有问题的 API 是 opus.dll (Opus) 和 libsodium.dll (NaCl)。

我知道这意味着我需要找到这些的通用版本并以某种方式使我正在使用的包 (Discord.Net) 引用它们而不是原始版本,但是有人知道在哪里可以找到通用版本吗?除了原始的 C 之外,我似乎找不到任何东西。

供引用,这是错误:

  • API crypto_secretbox_easy in libsodium.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
  • API crypto_secretbox_open_easy in libsodium.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
  • API opus_decode in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
  • API opus_decoder_create in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
  • API opus_decoder_destroy in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
  • API opus_encode in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
  • API opus_encoder_create in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
  • API opus_encoder_ctl in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.
  • API opus_encoder_destroy in opus.dll is not supported for this application type. Discord.Net.WebSocket.dll calls this API.

最佳答案

您不能将这些库发布到应用商店,至少在构建 dll 时不能。您需要使用适用于 Windows 应用商店发布的适当设置来制作(但更具体地说是编译)您自己的 dll 文件。

关于c# - UWP 不支持的 API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42799162/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com