Image shows up in Visual Studio designer but not during run-time

后端 未结 19 1817
独厮守ぢ
独厮守ぢ 2020-12-17 08:09

I\'m currently working w/ VS studio 2010, .NET 4.0. Here is my scenario:

I currently have a class library project called \"Images\" that contains a sub folder calle

相关标签:
19条回答
  • 2020-12-17 08:38

    I came here to get my design time image data to show up (inverse problem).

    ImagePath="pack://application:,,,/MyApplicationName;component/Images/Icons/Button1.png" is what did the trick, in addition to Build Action set to Resource and Copy to Output Directory set to Copy if newer.

    0 讨论(0)
提交回复
热议问题