排除檔案不編譯(Exclude resource from build)
有時候我們希望在project裡的某些檔案不編譯,
例如備份檔就不要自動加入編譯。(避免編譯)
設定方法如下。
Following are the steps to exclude some files from a project. FYR
1) Specify the file which to be excluded
Attachment:
1.png [ 203.11 KiB | Viewed 7170 times ]
2) Right click the file and select properties in pop-up menu
Attachment:
2.png [ 154.15 KiB | Viewed 7170 times ]
3) Enable [Exclude resource form build], and then click OK
Attachment:
3.png [ 131.62 KiB | Viewed 7170 times ]
4) And then rebuild your project