在xaml设计时,传入的路径正确,运行时却找不到资源
解决方案:将“MyPic.Png”属性页,“生成操作”改为“Resource”
In the solution explore, set the image "Build Action" property to "Resource" ,then clean the solution and rebuild it.
在xaml设计时,传入的路径正确,运行时却找不到资源
解决方案:将“MyPic.Png”属性页,“生成操作”改为“Resource”
In the solution explore, set the image "Build Action" property to "Resource" ,then clean the solution and rebuild it.