c# – Shared Project Trouble with Visual Studio 2026

When I add shared projects to my solution, Visual Studio 2026 automatically adds my projitems into the GlobalSection TeamFoundationVersionControl like this:

        SccProjectUniqueName52 = GROUP\\Views\\Views.projitems
        SccProjectTopLevelParentUniqueName52 = GROUP\\Views\\Views.shproj
        SccProjectName52 = ../../../GROUP/MAIN/Views
        SccLocalPath52 = GROUP\\Views

I asked three different AIs about this and all said, that its wrong. The projitems shouldn’t be in this list at all. Only the referencing Projects and the shproj. But I cannot add them. Adding the shproj-files is “Not Implented” and if i remove the projitems, they’re readded, even If I do it by hand and delete the .vs cache directory.

If I delete a file from a shared project, the deletion isn’t recognised by the TFS. Only the projitems file is changed. That was different in Visual Studio 2022.

Are the AIs right, or is this missinformation? Maybe something has changed over time?

Some online research showed, that others have the same problem adding the shproj-files. But i found nothing concrete about the projitems.

Read more here: Source link