具有Web服务的WPF可浏览应用程序 [英] WPF Browsable Application With Web Service
本文介绍了具有Web服务的WPF可浏览应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们如何在WPF可浏览应用程序中使用Web服务?
在WPF应用程序中它正在工作.但是在WPF可浏览应用程序中,它给出了以下错误:
无法创建在程序集"July14WPF,版本= 1.0.0.0,区域性=中性,PublicKeyToken =空"中定义的"Page1"的实例.调用的目标已引发异常.标记文件"Page1.xaml"中第1行的位置7.
Hi,
How we consume web service in WPF Browsable Application?
In WPF Application it is working.But in WPF Browsable application it''s giving following error :
Cannot create instance of ''Page1'' defined in assembly ''July14WPF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null''. Exception has been thrown by the target of an invocation. Error in markup file ''Page1.xaml'' Line 1 Position 7.
推荐答案
此问题与问题无关,并且是标记的常见问题.我们将需要看到此"Page1.xaml",仅在Line1位置7及其周围.
—SA
This issue has nothing to do with the question and is a usual problem of the markup. We would need to see this "Page1.xaml", what''s in Line1 Position 7 and around, that''s it.
—SA
这篇关于具有Web服务的WPF可浏览应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文