Resource causing FileIO file not found error?
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.
I copied the .exe file to another machine, double clicked and got this error:
I checked the event log and saw this:
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
开发者_如何学CIt wasn't the image file. It was some 3rd part files.
精彩评论