gpt4 book ai didi

visual-studio - 升级到 Azure SDK 2.6 后无法在 Windows 通用应用程序中加载共享 'project'

转载 作者:行者123 更新时间:2023-12-03 20:51:17 25 4
gpt4 key购买 nike

我刚刚安装了 April 2015 release of the Azure SDK 。它是 2.6 版本,之前我使用的是 2.5 版本。现在我的一个项目将无法加载。它是 Windows 通用应用程序中的共享项目。

当我右键单击该项目并选择“重新加载”时,出现弹出错误

The method or operation is not implemented

Visual Studio screenshot

输出窗口提供更多详细信息:

Things.Shared.shproj : error : The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

1) No exports were found that match the constraint: ContractName Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService RequiredTypeIdentity Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService

Resulting in: Cannot set import 'Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.ProjectReferencesService (ContractName="Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService")' on part 'Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService'. Element: Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.ProjectReferencesService (ContractName="Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService") --> Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService

Resulting in: Cannot get export 'Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.WireUp (ContractName="Microsoft.VisualStudio.ProjectSystem.ConfiguredProject.AutoLoad")' from part 'Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService'. Element: Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.WireUp (ContractName="Microsoft.VisualStudio.ProjectSystem.ConfiguredProject.AutoLoad") --> Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService

Windows 通用应用程序的其他部分(Windows 8.1 项目和 Windows Phone 8.1 项目)安装了两个 Azure NuGet 包:Windows Azure Mobile Services 1.3.2 和 Windows Azure Storage 4.3.0。 (注意,这两个项目加载没有问题。)

这对我来说并不是一个阻碍,因为卸载 Azure SDK 2.6 可以消除加载失败。要卸载,我通过控制面板“卸载或更改程序”,然后卸载 Microsoft Azure Tools for Microsoft Visual Studio 2013 - v2.6

uninstall

我想知道如何在不卸载 Azure SDK 4.6 的情况下解决此问题。

最佳答案

结束于the Azure Mobile Services forum Chuck Weininger 发布了以下答案:

The [fixed] build of Azure SDK 2.6 is now available, but it may not have propagated to all download servers yet.

You can run the Web Platform Installer and if you don’t have the new build installed, it should allow you to install 2.6 again. But it might not if you are accessing a download server that doesn’t have the new bits yet. If WebPI doesn't allow you to install 2.6 again, then wait a few hours and try again.

The build number for the version with the fixes is build 2.6.30508.1601. You can identify the build of the SDK from Control Panel -> Programs and Features -> Microsoft Azure Tools for Microsoft Visual Studio 2013 – v 2.6. The Version column will display the build number

我已按照 Chuck 的指示进行操作,新的构建和共享项目现在可以毫无问题地加载。

关于visual-studio - 升级到 Azure SDK 2.6 后无法在 Windows 通用应用程序中加载共享 'project',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29966312/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com