Click here to Skip to main content
15,891,372 members

Visual Studio 2012 Import resource problem !!!

Revision 3
When you import a resource to a project using VS 2012, no copy of the imported resource will be placed to the res folder of the project, it will remain dependent on the original resource file !!!

Previously in VS 6, on resource view tab, when you right click Add --> Resource... & click on Import... to import a resource into your project (a .bmp file for example), VS 6 will create a copy of that .bmp file & place it in a folder named res (the default folder for resources). This option is not available in VS 2012 (it will not create a copy, it uses the original .bmp file), the problem is when you move your project solution to another computer, it will not compile because of missing resources.

How to make VS 2012 create a copy of the resource and place it to the res folder.

Help me please.

--------------------------------------------------------------------------------
EDIT:

You should take a look at this demo to understand what I mean.
http://www.mediafire.com/?86cmudpc6flzy66[^]
--------------------------------------------------------------------------------

Thank you for your understanding.
Posted 29-Dec-12 17:46pm by Mr. Tomay.
Tags: , ,