且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Visual Studio 2017中打包我的UWP应用程序时出错。

更新时间:2022-10-21 16:21:28

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://***.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