This project is read-only.

SPSF Menu items disappear after branching in TFS

Aug 24, 2011 at 12:53 PM

Hi there.

We started out creating a solution with SPSF and added the source to TFS. When branching the solution to for instance a dev branch, the SPSF specific menu items ("SPSF Artefacts", "SPSF Deploy and Debug" etc..) in the solution explorer are no longer available in the source from the new branch.

Is there a way to re-add the menu items?



Aug 24, 2011 at 12:59 PM

Hi Peter,

yes, this may occur during branching.

The solution is to reattach den SPSF to the project. This can be done via "Tools -> Guidance Package Manager", click "Enable / Disable Packages" and check "SPSF". Then save the solution and the menus should appear again.

We can not change this behaviour because it comes from the Microsoft Guidance Automation Toolkit (GAT).

Kind regards,


Aug 24, 2011 at 1:23 PM

Thanks alot :) That helped

Impressive response time by the way!


Aug 25, 2011 at 12:27 PM
Edited Sep 6, 2011 at 8:47 AM

Just for completion, the information about the SPSF association is stored similar to for example the "SiteUrl" for SharePoint projects in user and environment specific files i.e <solution>.suo and <project>.csproj.user

As these files are not part of the solution itself, they are usually not checked in into TFS. Therefore they are missing on other environments where you check out the files or when you make a branch. You have to bind SPSF on each environment as Torsten described, and also set the WSP projects SiteUrl (which does not have to do anything with SPSF)
This is intended beahviour by Visual Studio :-(