Gated Checkin: Sheving the Sources causes rollback in Visual Studio

One of our developers discovered something very strange in Gated Checkin Builds, which seems to be a feature of Gated Checkins.

When you start Gated Checkin, the solution in its Solution Explorer seems to revert to the latest tested version. After the build is complete, Visual Studio displays an error or success message with a button in German called "Code aufnehmen" (in English: "Reconcile ...")

After clicking, it returns its changes.

I know that in Visual Studio you can abandon your decision when putting it off. It seems to me that Visual Studio does this by default.

Is it possible to set that Visual Studio or TFS does not return after the shelf for Gated Checkins? Or maybe someone can tell me why Visual Studio does this.

+5
source share
1 answer

The whole process with Gated checkins is that TFS:

  • Creates a slider with all changes
  • Trying to create the last state of the code + this Shelveset and
  • If everything succeeds, Shelveset receives an order in the repository.

TFS . :
enter image description here

, , .

, . , "", .
, -say-5 , .

Gated Checkin . .

+4

All Articles