slow resolve when ProjectItems null

Use native method to get project item but go slow recursive method if it
has null project items