无法提供对System.runtime.dll的引用 [英] cant give reference to System.runtime.dll

查看:70
本文介绍了无法提供对System.runtime.dll的引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我给出C:\ Program Files(x86)\ Reference Assemblies \ Microsoft \ Framework \ .NETFramework \ v4.5.2 \ Facades路径,则工作室显示黄色,并表示缺少参考.

if i give C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades path the studio shows yellow to and says reference is missing .

如果我给出C:\ Windows \ Microsoft.NET \ Framework \ v4.0.30319 此路径,则Visual Studio 2015显示已导入具有相同标识的多个程序集.

if i give C:\Windows\Microsoft.NET\Framework\v4.0.30319 this path then  visual studio 2015 shows multiple assemblies with equivalent identity have been imported.

我要导入

system.runtime.dll;

system.runtime.dll;

system.runtime.windowsruntime.dll;

system.runtime.windowsruntime.dll;

Windows.winmd;

Windows.winmd;

我要执行此操作以访问"AppServiceConnection"

i want to do this to access "AppServiceConnection "

推荐答案

您好

Hi Muhammad Asad Amin,

>>"如果我给C:\ Windows \ Microsoft.NET \ Framework \ v4.0.30319 此路径,则  visual studio 2015显示已导入具有相同标识的多个程序集.

>>if I give C:\Windows\Microsoft.NET\Framework\v4.0.30319 this path then  visual studio 2015 shows multiple assemblies with equivalent identity have been imported.

如果项目的目标是全部",则仅需要添加外观参考. .NET框架.因此,如果您首先查看现有的引用,是否有任何引用来自引用程序集C:\ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ ... 那么您不必添加它们.

You only need to add the façade references if the project is targeting the "full" .NET framework. So if you look at the existing references first, if there are any references that come from Reference Assemblies C:\Windows\Microsoft.NET\Framework\v4.0.30319\... then you shouldn't need to add them.

>>我要执行此操作以访问"AppServiceConnection"

>>i want to do this to access "AppServiceConnection "

AppServiceConnection类表示与应用程序服务的端点的连接.应用服务允许您提供以下信息,从而实现应用之间的通信:服务从您的Universal Windows应用程序迁移到其他Universal Windows应用程序.

AppServiceConnection class represents a connection to the endpoint for an app service. App services enable app-to-app communication by allowing you to provide  services from your Universal Windows app to other Universal Windows apps.

在这里,我找到了有关

Here I found a MSDN sample about Create and consume an app service, you could use this class.

如果上述步骤仍然无法解决您的错误,请通过屏幕截图发布您的错误消息,以更好地告诉您您的实际情况.谢谢.

If above steps still cannot resolve your error, please post your error message with a screen capture will he better and tell me what your real scenario is. Thanks.

最诚挚的问候,

克里斯汀


这篇关于无法提供对System.runtime.dll的引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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