最新的Microsoft VS2017 VSIX安装程序无法安装SSAS项目模板(Microsoft Analysis Services项目)。我可以与安装程序一致地复制此问题。
**注意:我已经按照堆栈溢出类似问题中提到的说明进行操作,包括下载SSDT安装程序以及从C:\ Temp **手动运行每个小型安装程序**
我可以使用Microsoft脱机SSDT安装程序以及Nuget的SSAS项目模板安装程序来一致地复制此问题。
它们都安装了名为“ Microsoft Analysis Services项目”的相同组件
这是错误: 文件'C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Enterprise \ MSBuild \ Business Intelligence Semantic Model \ 1.0 \ Microsoft.AnalysisServices.AppLocal.Core.dll'已存在。
我尝试删除以下所有文件: C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Enterprise \ MSBuild \ Business Intelligence语义模型\ 1.0 \
,然后重新运行安装程序。但是,安装程序会创建文件,然后片刻之后安装失败,因为该文件已经存在。...
我需要安装一个可以正常运行的安装程序;)大声笑
我正在使用Visual Studio 2017尝试安装Analysis Services项目模板。
这是安装失败的日志文件:
11/27/2018 4:07:16 PM - System restore is not supported on this system
11/27/2018 4:07:16 PM - Failed to create system restore point: 0x80131524
11/27/2018 4:08:20 PM - Package '04a86fc2-dbd5-4222-848e-911638e487fe,version=2.2' failed to install. System.IO.IOException: The file 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Business Intelligence Semantic Model\1.0\Microsoft.AnalysisServices.AppLocal.Core.dll' already exists.
at Microsoft.VisualStudio.Setup.Installer.VsixInstaller.<InstallCoreInternal>g__install|27_1(PackagePart part, Boolean saveExtensionManifest, <>c__DisplayClass27_0& , <>c__DisplayClass27_1& , <>c__DisplayClass27_2& , <>c__DisplayClass27_3& , <>c__DisplayClass27_4& )
at Microsoft.VisualStudio.Setup.Installer.VsixInstaller.InstallCoreInternal(String localPath, String installDir, InstallablePackage pkg)
at Microsoft.VisualStudio.Setup.Installer.FileInstaller.<>c__DisplayClass7_0.<InstallCore>b__0()
at Microsoft.VisualStudio.Setup.Installer.FileInstaller.DoAction(Func`1 action)
at Microsoft.VisualStudio.Setup.Installer.FileInstaller.InstallCore(String localPath, String installDir, InstallablePackage pkg)
at Microsoft.VisualStudio.Setup.Installer.InstallerBase.InstallHelper(InstallData installData)
11/27/2018 4:08:20 PM - Skipping cache of package 'Component.04a86fc2-dbd5-4222-848e-911638e487fe,version=2.2' since the package or a parent package had a vital failure.
11/27/2018 4:08:52 PM - Install Error : Microsoft.VisualStudio.Setup.PackageFailureException: Package '04a86fc2-dbd5-4222-848e-911638e487fe' failed to install
at Microsoft.VisualStudio.Setup.InstallOperation.Run(CancellationToken token)
at Microsoft.VisualStudio.Setup.Engine.RunOperation(InstallOperation installOperation, CancellationToken token, ExecuteAction action, ITelemetryOperation telemetryOperation)
at Microsoft.VisualStudio.Setup.Engine.RunCoreOperation(InstallOperation coreOperation, ExecuteAction action, ITelemetryOperation telemetryOperation, CancellationToken token)
at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineInstall(InstallableExtensionImpl extension, Boolean installPerMachine, Boolean isPackComponent, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, IProgress`1 progress, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion, IInstalledExtension& newExtension)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallInternal(InstallableExtensionImpl extension, InstallFlags installFlags, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress`1 progress, Version targetedVsVersion)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp)
答案 0 :(得分:0)
卸载并重新安装VS2017之后,它可以正常工作。希望这对某人有帮助;)