在Visual Studio 2017中打包我的UWP应用程序时出错。 [英] Errors occur while packaging my UWP application in Visual Studio 2017.

查看:152
本文介绍了在Visual Studio 2017中打包我的UWP应用程序时出错。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

没有构建错误,只有一条警告消息。  这不会影响我的应用运行方式。  当我尝试打包我的应用程序时,我收到错误。  我的堆栈交换链接是


https://stackoverflow.com/questions/44873329/c-sharp-code-works-but-errors-occur-while-packaging-my -uwp-application-in-visual


它还包含我的错误列表和输出控制台的屏幕截图。

解决方案

< blockquote>

Hi Cade,


输出中显示的错误之一是:" scale-50"不是ResourceDimensions的有效值


请你去
Package.appxmanifest
 并检查其下的图片,这可能是由图像尺寸设置引起的,因为我在我这边找不到任何比例尺50 。



 


 



祝你好运,


Fletcher


There are no build errors but one warning message.  This doesn't affect how my app runs though.  When I try packaging my application I get errors.  My link for stack exchange is

https://stackoverflow.com/questions/44873329/c-sharp-code-works-but-errors-occur-while-packaging-my-uwp-application-in-visual

It also contains screenshots of my error list and output console.

解决方案

Hi Cade,

One of the errors shown from the output is: "scale-50" isn't a valid value for ResourceDimensions.

Would you please go to Package.appxmanifest and check the images under it, it's probably caused by the image size setting, since I don't find any scale-50 in my side.

 

 

Best regards,

Fletcher


这篇关于在Visual Studio 2017中打包我的UWP应用程序时出错。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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