[UWP]无法在我的本地计算机上以发布模式部署我的UWP xaml应用程序。 [英] [UWP]Unable to Deploy my UWP xaml App in Release mode on My Local Machine.

查看:66
本文介绍了[UWP]无法在我的本地计算机上以发布模式部署我的UWP xaml应用程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在发布模式下部署我的UWP XAML应用。

I am unable to Deploy my UWP XAML app in release mode.

我收到以下异常: ==

I am getting the following exception:==

严重性 代码
描述 项目
文件
抑制状态

错误< span style ="white-space:pre"> MCG0024:MCG0024:UnresolvableTypeReference'无法解析类型引用'System中的System.ComponentModel.Design.IDesignerHost'(Name = System,Version = 4.0.0.0,Culture = neutral, PublicKeyToken = b77a5c561934e089)'找到了。
请检查构建系统中的引用。引用缺失或程序集缺少预期类型。

Severity Code Description Project File Line Suppression State
Error MCG0024: MCG0024:UnresolvableTypeReference Unresolvable type reference 'System.ComponentModel.Design.IDesignerHost' in 'Assembly(Name=System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)' found. Please check the references in your build system. A reference is either missing or an assembly is missing an expected type.

谢谢。

Thanks.

推荐答案

Hello milan1972,

Hello milan1972,

"System.ComponentModel.Design.IDesignerHost"不受支持UWP。请检查您的项目并删除对"System.ComponentModel.Design.IDesignerHost"的所有引用。

The "System.ComponentModel.Design.IDesignerHost" isn’t supported in UWP. Please check your project and remove all references to "System.ComponentModel.Design.IDesignerHost".

更多信息,请参阅" .NET for UWP apps "了解更多详情。

More information, please refer to ".NET for UWP apps" for more details.

此外,  欢迎
到开发通用Windows应用论坛!

请阅读粘贴帖子,尤其是

发布指南:主题行标签

Windows 10 SDK和工具的已知问题 
 

Please read the sticky posts, especially the Guide to posting: subject line tags and Known Issues for Windows 10 SDK and Tools  

请记得下次自己为标题添加标签。

Please remember to add tag to title yourself next time.

最好的问候,

Xavier Eoro

Xavier Eoro





这篇关于[UWP]无法在我的本地计算机上以发布模式部署我的UWP xaml应用程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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