配置文件加
<ItemGroup>
<EmbeddedResource Include="Images\liusumaoyiqun.jpg">
<LogicalName>liusumaoyiqun</LogicalName>
</EmbeddedResource>
</ItemGroup>
然后在cs代码里面就可以使用```Image.Source=ImageSource.FromResource("liusumaoyiqun");
配置文件加
<ItemGroup>
<EmbeddedResource Include="Images\liusumaoyiqun.jpg">
<LogicalName>liusumaoyiqun</LogicalName>
</EmbeddedResource>
</ItemGroup>
然后在cs代码里面就可以使用```Image.Source=ImageSource.FromResource("liusumaoyiqun");