Newly added resource cannot be used - C#