升级到Azure的SDK 2.6后无法加载共享“项目”在Windows通用应用程序 [英] Cannot load shared 'project' in Windows Universal app after upgrading to Azure SDK 2.6

查看:154
本文介绍了升级到Azure的SDK 2.6后无法加载共享“项目”在Windows通用应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 2015年4月发布在Azure SDK 的。这是2.6版和$ ​​P $ pviously我是2.5。现在,我的一个项目将不会加载。这是在Windows通用应用软件的共享项目。

I've just installed the April 2015 release of the Azure SDK. It is version 2.6 and previously I was on 2.5. Now one of my projects will not load. It is the shared project in a Windows Universal application.

当我用鼠标右键单击该项目,然后选择刷新我得到了弹出错误

When I right-click the project and choose 'reload' I get the pop-up error

的方法或操作未实现

输出窗口提供了更多的细节:

The output window gives more detail:

Things.Shared.shproj:错误:该组合物产生的单
  组成错误。根本原因如下。查看
  CompositionException.Errors属性更详细的信息。

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)出口没有发现匹配约束:
    ContractName Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService
    RequiredTypeIdentity Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService

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

结果导致:无法设置进口
  Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.ProjectReferencesService
  (ContractName=\"Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService\")'
  对部分
  Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService。
  元件:
  Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.ProjectReferencesService
  (ContractName=\"Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService\")
   - > Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService

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

结果导致:无法获得出口
  Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.WireUp
  (ContractName =Microsoft.VisualStudio.ProjectSystem.ConfiguredProject.AutoLoad)'
  从零件
  Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService。
  元件:
  Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.WireUp
  (ContractName =Microsoft.VisualStudio.ProjectSystem.ConfiguredProject.AutoLoad)
   - > 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的移动服务1.3.2和Windows Azure存储4.3.0。 (N.B.这两个项目加载没有问题。)

The other parts to the Windows Universal app (the Windows 8.1 project and the Windows Phone 8.1 project) have two Azure NuGet packages installed: Windows Azure Mobile Services 1.3.2 and Windows Azure Storage 4.3.0. (N.B. Those two projects load without issue.)

这是不是因为卸载的Azure SDK 2.6中删除加载失败对我来说是表演塞。要卸载我通过控制面板去卸载或更改程序,然后卸载Microsoft Azure工具为Microsoft Visual Studio 2013 - V2.6

This is not a show stopper for me since uninstalling the Azure SDK 2.6 removes the load failure. To uninstall I go via the Control Panel to 'uninstall or change a program' and then uninstall Microsoft Azure Tools for Microsoft Visual Studio 2013 - v2.6

我想知道如何解决这个问题,而不卸载的Azure SDK 4.6。

I would like to know how to fix this without uninstalling the Azure SDK 4.6.

推荐答案

在上<一个href=\"https://social.msdn.microsoft.com/Forums/en-US/e8123821-dcb1-477f-a746-f6f016a724ea/cannot-load-shared-project-in-windows-universal-app-after-upgrading-to-azure-sdk-26?forum=azuremobile\">the Azure的移动服务论坛查魏宁格发布了如下回答:

Over on the Azure Mobile Services forum Chuck Weininger has posted the following answer:

的Azure SDK 2.6的[固定]版本是现在可用,但它可能没有
  传播到所有下载服务器呢。

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

您可以运行Web平台安装程序,如果你不具备的新
  共建安装,它应该让你重新安装2.6。但它
  可能不会,如果你正在访问一个不具备下载服务器
  新尚位。如果WebPI不允许你再安装2.6,那么
  等待几个小时,然后再试一次。

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.

有关的版本与修复的版本号为Build
  2.6.30508.1601。您可以识别从控制面板的SDK版本 - >程序和功能 - >微软Azure工具为Microsoft
  的Visual Studio 2013 - v 2.6。该版本列将显示构建
  号

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的指示,并有新的构建和共享的项目现在加载没有问题。

I have followed Chuck's instructions and have the new build and the shared project now loads without issue.

这篇关于升级到Azure的SDK 2.6后无法加载共享“项目”在Windows通用应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆