Silverlight环境配置 运行项目遇到的问题解决

来源:互联网 发布:网络直播行业分析 编辑:程序博客网 时间:2024/06/06 09:58
1.解决 WCF error: Unrecognized element 'extendedProtectionPolicy'.
配置文件将接点删除OK.
2. Custom tool error: Failed to generate code for the service reference ××××××. Please check other error and warning messages for details.
解决方法:在silverlight项目中,在Service References 在下面找到出错的WCF服务的引用,右键点击“Configure Service Reference…”,在弹出的对话框中,去掉对“Reuse types in referenced assemblies”的选择即可解决问题
3 解决错误 1 The "ValidateXaml" task failed unexpectedly.
将工程文件XXXX.csproj用记事本打开找到
<ValidateXaml>true</ValidateXaml>一节将true改为false,重新编译运行,问题解决。
0 0
原创粉丝点击