fix issue when reference exists as project reference
Merge branch 'FixProjectReference' into YsVersion