mysql数据源没有出现在我的visualstudio上,我在这里读到了我需要安装的内容 MySQL for Visual Studio 1.2.7
.
但是当我试图安装 MySQL for Visual Studio
在我的电脑(windows 7 x64、visual studio 2015和2017 enterprise)上,安装失败率为93%,我得到以下日志:
[...]
1: Action 16:30:33: VS2015Setup.
1: Action 16:30:33: SetVS15Setup_Custom.
1: Action 16:30:33: SetVS15_Ent_Setup_Custom.
1: Action 16:30:33: VS15_Ent_Setup_Custom.
1:
1: Action 16:30:33: SetVS15_Pro_Setup_Custom.
1: Action 16:30:33: InstallFinalize.
1: Action 16:30:34: DeleteRegKeyAndExtensionsFile_VS2012.
1: Action 16:30:35: DeleteRegKeyAndExtensionsFile_VS2013.
1: Action 16:30:36: DeleteRegKeyAndExtensionsFile_VS2017.
1: Action 16:30:36: DeleteRegKeyAndExtensionsFile_VS2017_Pro.
1: Action 16:30:36: VS14_UpdatePackageFile.
1: Action 16:30:36: VS2015Setup.
在此点之后发生回滚
1: Action 16:31:16: VS15_Ent_Setup_Custom.
1: Action 16:31:17: Rollback. Rolling back action:
1: VS15_Ent_Setup_Custom
1: VS2015Setup
1: VS14_UpdatePackageFile
1: DeleteRegKeyAndExtensionsFile_VS2017_Pro
1: DeleteRegKeyAndExtensionsFile_VS2017
1: DeleteRegKeyAndExtensionsFile_VS2013
1: DeleteRegKeyAndExtensionsFile_VS2012
1: Action 16:31:17: Rollback. Rolling back action:
1: Publishing product information
[...]
1: 1: MySQL for Visual Studio 1.2.7 2: {63F92630-4546-4297-A0F5-761886A689EE} 3: 3
1: The action 'Install' for product 'MySQL for Visual Studio 1.2.7' failed.
我还查看了msi日志,发现:
[...]
Calling custom action MySql.VisualStudio.CustomAction!MySql.VisualStudio.CustomAction.CustomActions.UpdateFlagPackagesFileForVs2015
WixQuietExec: Error 0xffffffff: Command line returned an error.
WixQuietExec: Error 0xffffffff: QuietExec Failed
WixQuietExec: Error 0xffffffff: Failed in ExecCommon method
CustomAction VS15_Ent_Setup_Custom returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 16:31:17: InstallFinalize. Return value 3.
Action ended 16:31:19: INSTALL. Return value 3.
[...]
如何解决这个问题?
1条答案
按热度按时间shstlldc1#
我无法解决此问题,因此我卸载了visual studio 2017并安装了
MySQL for Visual Studio 1.2.7
关于visual studio 2015,从现在起我将使用visual studio 2015。