2016-04-18 50 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