I am writing application for pixel sense which is called "surface table" before. Now I find a problem that the table cannot change the default app icon to my custom icon.
What is the method of changing apps icon?
I am writing application for pixel sense which is called "surface table" before. Now I find a problem that the table cannot change the default app icon to my custom icon.
What is the method of changing apps icon?
该图标在应用程序的XML 注册文件中设置:
<?xml version="1.0" encoding="utf-8"?>
<ss:ApplicationInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ss="http://schemas.microsoft.com/Surface/2007/ApplicationMetadata">
<Application>
<Title>...</Title>
<Description>...</Description>
<ExecutableFile>...</ExecutableFile>
<Arguments></Arguments>
<!-- here -->
<IconImageFile>Resources\ApplicationIcon.png</IconImageFile>
<Tags></Tags>
</Application>
</ss:ApplicationInfo>
您可以在项目 > 属性 > 应用程序 > 资源 > 图标和清单中更改图标(在 windows 任务栏中的 windows 中显示的那个)。
Surface 图标只能在 Clemens 提到的 XML 注册文件中更改。