Regarding the conditional "how," assuming that you have
<ProjectReference ...>...</ProjectReference>
or
<Reference ...>...</Reference>
.proj,
<ProjectReference Condition="'$(Configuration)'!='DebugVB'" ...>...</ProjectReference>
<Reference Condition="'$(Configuration)'=='DebugVB'" ...>...</Reference>