Does the build file with Build Action = Content load into memory at run time?

I have an application with a large number of files with the Build Action property set to Content . When I analyze him, I see that he needs a lot of memory. Therefore, I doubt that these files are the cause.

Will such files be loaded into memory at run time or simply when accessing them?

+4
source share
1 answer

No, Content not like Resource . It is not embedded in the application binary. This is useful if you want to copy additional files, such as images or other external files, that you want to include in your solution, but not affected by the compiler.

See: Properties of the file http://msdn.microsoft.com/en-us/library/0c6xyb66 (v = vs .90) .aspx

+5
source

All Articles