Я исправил проблему, используя Условия в vbproj.
как то так:
& lt ItemGroup Condition = "'$ (Configuration) | $ (Platform)'! = 'Developers | AnyCPU'">
& lt ProjectReference Include = ".. \ xxxx">
& lt / ProjectReference>
........
& lt / ItemGroup>
& lt ItemGroup Condition = "'$ (Configuration) | $ (Platform)' == 'Others | AnyCPU'">
& lt Reference Include = "Foo, версия = 1.0.0.0, культура = нейтральная, ProcessorArchitecture = MSIL" />
..........
& lt / ItemGroup>
~ Надеюсь, это поможет кому-то еще.