C# 无法更新android应用程序的WCF引用

C# 无法更新android应用程序的WCF引用,c#,android,asp.net,wcf,C#,Android,Asp.net,Wcf,顾名思义,我无法更新对服务的引用。我在我的机器上启动服务,然后尝试更新服务,但没有效果。根据错误日志,我得出结论,我缺少Java.Interop。。。但是我检查了一下,在我的两个解决方案中都没有看到对该文件的任何引用。我认为其他的错误是从那里接踵而至的。这是日志: Resolving project references ... Importing web service metadata ... Number of service endpoints found: 2 Scaffolding

顾名思义,我无法更新对服务的引用。我在我的机器上启动服务,然后尝试更新服务,但没有效果。根据错误日志,我得出结论,我缺少Java.Interop。。。但是我检查了一下,在我的两个解决方案中都没有看到对该文件的任何引用。我认为其他的错误是从那里接踵而至的。这是日志:

Resolving project references ...
Importing web service metadata ...
Number of service endpoints found: 2
Scaffolding service reference code ...
Warning:Warning: Cannot import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter
Error: Could not load file or assembly 'Java.Interop, Version=0.1.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. The system cannot find the file specified.
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='IDeliveryService']
Warning:Warning: Cannot import wsdl:port
Detail: 
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:service[@name='DeliveryService']/wsdl:port[@name='BasicHttpBinding_IDeliveryService']
Warning:Warning: Cannot import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on.
XPath to wsdl:portType: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='IDeliveryService']
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='NetTcpBinding_IDeliveryService']
Warning:Warning: No endpoints compatible with .Net Core apps were found.
Warning:Warning: Cannot import wsdl:port
Detail: 
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:service[@name='DeliveryService']/wsdl:port[@name='NetTcpBinding_IDeliveryService']
Warning:Warning: Cannot import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on.
XPath to wsdl:portType: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='IDeliveryService']
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='BasicHttpBinding_IDeliveryService']
Error:Error: No code was generated.
If you were trying to generate a client, this could be because the metadata documents did not contain any valid contracts or services, or because all contracts/services were discovered to exist in --reference assemblies. Verify that you passed all the metadata documents to the tool.
Done.
我已经检查了引用,它调用我的计算机,在我专门为它打开的端口上,它调用一个已打开的服务。
我试着将它作为一个包进行查找并安装,但没有找到。知道它来自何处以及如何恢复吗?

您可以在以下目录中找到它:

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\Java.Interop.dll
然后返回到您的项目并将其添加到您的项目中