2016-04-18 99 views
2
API CancelIo in kernel32.dll is not supported for this application type. MySql.Data.RT.dll calls this API. 
API CreateFileW in kernel32.dll is not supported for this application type. MySql.Data.RT.dll calls this API. 
API MapViewOfFile in kernel32.dll is not supported for this application type. MySql.Data.RT.dll calls this API. 
API OpenFileMappingW in kernel32.dll is not supported for this application type. MySql.Data.RT.dll calls this API. 
API PeekNamedPipe in kernel32.dll is not supported for this application type. MySql.Data.RT.dll calls this API. 
API WaitNamedPipeA in kernel32.dll is not supported for this application type. MySql.Data.RT.dll calls this API. 
API AcquireCredentialsHandleW in secur32.dll is not supported for this application type. MySql.Data.RT.dll calls this API. 
API CompleteAuthToken in secur32.dll is not supported for this application type. MySql.Data.RT.dll calls this API. 
API DeleteSecurityContext in secur32.dll is not supported for this application type. MySql.Data.RT.dll calls this API. 
API FreeCredentialsHandle in secur32.dll is not supported for this application type. MySql.Data.RT.dll calls this API. 
API InitializeSecurityContextW in secur32.dll is not supported for this application type. MySql.Data.RT.dll calls this API. 
API QueryContextAttributesW in secur32.dll is not supported for this application type. MySql.Data.RT.dll calls this API. 

請幫助如何解決這個問題。uwp應用程序使用Mysql.data.rt.dll

感謝

回答

1

的WinRT(也UWP)應用程序都支持從版本連接器/淨6.7

開始如果從安裝的NuGet或許你有更低的版本。使用direct link下載和安裝你會發現在文件夾中的DLL這樣後:
C:\ Program Files文件(x86)的\ MySQL的\ MySQL連接網絡6.9.8 \組件\ RT \

+0

我使用的連接網6.9之前,我生病試試這個新版本... –

+0

它有同樣的問題.... –

+1

描述你有什麼Windows 10的構建。添加更多信息。我想重現此問題 –

1

我有同樣的問題。我用來克服的方式是評論非認證的API並再次編譯連接器。

如果你想用我的解決方案,甚至更好的對其進行改進,使用感受,並有助於在:

https://github.com/nudaca/MySql.Data.UWP