2017-03-15 112 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文件。