Updated WriteAttribute and nuget reference