Search code examples
c#resource-files

Resource compilation for C# project


I have a C# project with a great deal of image files in resources. The compilation these resources takes about 30 seconds each time I build the project.

I am wondering if it's possible to configure Visual Studio 2010 to prevent resource compilation if there was no changes in them.

Thanks.

UPDATED

Thanks a lot for help. The problem has been solved as follows. I changed persistence property from «Linked at compile time» to «Embedded in .resx» for all my resources.


Solution

  • Create resource file explicitly and embedded into your assembly. Moee detail , kindly refer the below link Creating Resource Files