原文鏈接:http://www.cnblogs.com/yinhaiming/articles/1717374.html
內容(Content) - 不編譯該文件,但將其包含在“內容”(Content) 輸出組中。
編譯(Compile) - 將該文件編譯到生成輸出中。此設置用於代碼文件。
嵌入資源(Embedded Resource) - 將該文件作爲 DLL 或可執行文件嵌入主項目生成輸出中。
內容的讀寫和運行目錄下的其他文件沒有區分。
編譯和嵌入資源讀寫,需要用到,例如:
GetType().Assembly.GetManifestResourceStream(assembleName + ".AppDesc.xml");