Jason
Jason

Reputation: 193

Packaging Visual Basic .net program and resources together to make it stand-alone exe

I'm developing a very simple program in VB2010 Express that will create folders based on entries in a remote database. I am fully aware that the minimum requirement to run the exe is the latest .net framework, however I have a few added resources to the file, and when I try to run the executable on another computer, it fails to run stating that the resources are missing.

How do i compile my VB code AND the resources together into a stand-alone executable that only requires the .net framework to be installed?

I have already tried to google this issue, however every answer I find has nothing to do with my initial question...

Thanks

Upvotes: 0

Views: 1220

Answers (1)

Mrchief
Mrchief

Reputation: 76258

Make sure you mark your resx files (or other resource files such as images etc) as Embedded Resource in their Build Action.

Upvotes: 1

Related Questions