Thursday, July 26, 2012

C# .NET Images / Icons as Resources and Content

Build Action Resources vs Content in .NET / C# .NET Images / Icons as Resources and Content

Images can be added either as a Resource or Content Resource - This is default for Images / Icons Content - The file is not compiled, but is included in the Content output group. For example, this setting is the default value for an .htm or other kind of Web file.



Having Images as Content will reduce the Filesize. Having as a Resource appears to load the images faster .. it might be my perception. Please express your views on it

No comments:

Post a Comment