开发者

Resource causing FileIO file not found error?

开发者 https://www.devze.com 2023-03-25 03:51 出处:网络
I have a very simple application. 1 Windows form, with 4 buttons and 6 labels. There is no programming. I was just testing some issues with the way windows 7 displays images on buttons with certain se

I have a very simple application. 1 Windows form, with 4 buttons and 6 labels. There is no programming. I was just testing some issues with the way windows 7 displays images on buttons with certain settings.

Resource causing FileIO file not found error?

I copied the .exe file to another machine, double clicked and got this error:

Resource causing FileIO file not found error?

I checked the event log and saw this:

Resource causing FileIO file not found error?

The only thing it could be is the image file. I set the image file build action to Embedded resource, and still no luck. I even set the "copy to output directory" property to "Copy Always", still I get the same error.

I feel really dumb. How am I supposed to get this working correctly?

EDIT

开发者_如何学C

It wasn't the image file. It was some 3rd part files.

Resource causing FileIO file not found error?

0

精彩评论

暂无评论...
验证码 换一张
取 消