Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/279.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 获取错误:Background.png不是具有所需大小的有效png文件_C#_Windows Phone 7_Testing_Marketplace - Fatal编程技术网

C# 获取错误:Background.png不是具有所需大小的有效png文件

C# 获取错误:Background.png不是具有所需大小的有效png文件,c#,windows-phone-7,testing,marketplace,C#,Windows Phone 7,Testing,Marketplace,我正在使用测试套件测试Windows Phone 7应用程序,但收到一个与background.png维度相关的错误 运行测试套件时,它会显示: Result Test Name Test Description Failed XAP Package Requirement Validation of XAP file size and content files

我正在使用测试套件测试Windows Phone 7应用程序,但收到一个与background.png维度相关的错误

运行测试套件时,它会显示:

Result            Test Name                          Test Description     
Failed       XAP Package Requirement        Validation of XAP file size and content files

                                Result Details
[ERROR] : Background.png is not a valid PNG file with the required size: 62 x 62
但是,当我将尺寸更改为62x62时,它表示相同,但表示尺寸应为173x173。因此,我想知道如何解决这个问题,因为我不记得更改过任何与background.png文件相关的代码

谢谢


@Gambit感谢设置为背景文件的图标和背景

在WMAppManifest.xml中,有一个名为
的条目。这应该设置为.png,即62 x 62(小平铺)

还有一个名为
的条目,它应该包含一个。这应该设置为.png,即173 x 173(固定的平铺)


确保这两个.png都存在于您的项目中,并且它们被正确引用。

这可能会有帮助:快速猜测:您应该同时拥有这两个.png(每种大小一个)。