Victor
Victor

Reputation: 666

TFS - Gated Check - A version override can not be specified on a shelveset build

I am using a gated check-in for my TFS server. Everything was working great until today. I now get error message "A version override can not be specified on a shelveset build" every time I try and check in a change. Does anyone know why I am getting this error message?

Thanks

Upvotes: 1

Views: 509

Answers (1)

James Reed
James Reed

Reputation: 14052

It sounds like the build has been set to get a specific version of the code at build time, rather than the latest. Edit the build definition, go to the "process" tab.

If you're using the default template then expand the "advanced" section and see if there is anything in the "Get Version" setting.

Default template settings

If you're using the upgrade template then you need to look for the "Msbuild arguments" setting.

enter image description here

Both of these settings can also be modified when queueing a build, but I'm assuming you're not doing that otherwise you wouldn't be asking the question.

Upvotes: 3

Related Questions