Fix up project file
Add WriteAttribute