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

后端 未结 19 1974
独厮守ぢ
独厮守ぢ 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:23

    My image is not in the same project as my window

    I solve the problem going to Solution Explorer > "Project name" > Resources then select the image and change Build Action to Resource.

提交回复
热议问题