2017-03-15 77 views
1

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

我知道这意味着我需要找到这些通用版本,并以某种方式使我使用的软件包(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.
+1

你知道谁维护了Discord库吗?您可以询问他们是否有可用的UWP版本。或者,如果您知道谁拥有opus和libsodium,则可以要求他们提供符合UWP标准的版本,然后将其与您的软件包捆绑在一起 –

回答

0

你不能发布这些库的存储,至少不会因为DLL是建立。您需要使用适用于Windows Store版本的设置来制作(但更具体地编译)自己的dll文件。