Fix shared projects compat issue with VS

Don't create or save build configurations for shared projects.
Don't add the location prefix to the DependentUpon property of files.

Fixes bug #20257 - Some shared projects created by XS can't be opened in VS.