Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

Is there a possibility to keep all resource files at one location say inside folder "AllResources" , In case I have more than 30 projects and each with 5 forms at least.

Also each form should be able to access resource files from that folder only.

And whenever modifying any resource file of any form, It get modified inside that folder automatically.

Any kind of help will be appreciated.

Thanks.
Posted

1 solution

Add a new resource file to your project, create your images, and for each one, set the Copy To Output Directory property to Copy If Newer.

That way, if you change any of your images after running the application the first time, your changed images will remain.
 
Share this answer
 
Comments
fjdiewornncalwe 18-Feb-11 20:16pm    
OP comment:
Thanks for replying John

But In this case I have to keep one .resx file in both location. If I am deleting a file which is under its code file, automatically file is getting deleted from bin\Debug.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900