Support Forums

PowerShell Studio "add to" with TFS problem

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
User avatar
$$C-1T
Posts: 6
Joined: Wed Jun 17, 2015 7:37 am

Re: PowerShell Studio "add to" with TFS problem

Postby $$C-1T » Tue Feb 09, 2016 2:13 am

Ok, good to know :-)
My last question:

Add to works and also the Check-In, but if I Check-In a project, the wizard ask me for every single file.
09-02-_2016_10-00-29.jpg
09-02-_2016_10-00-29.jpg (158.23 KiB) Viewed 951 times

If I change multiple files it is a little bit annoying. Is there a way to Check-In all Files with the same Comment? At the moment I use Team Explorer directly to check-In a whole Project, but it would be nice to do it within PowerShell Studio.
User avatar
DevinL
Site Admin
Posts: 733
Joined: Mon Aug 17, 2015 2:25 pm

Re: PowerShell Studio "add to" with TFS problem

Postby DevinL » Tue Feb 09, 2016 12:38 pm

You could add another line to your CustomMenu.inf that runs the Check-In command against all the files with a preset comment.

Try adding something like the following:

3=TFS - Check-In;"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\TF.exe" checkin /comment:("Comment")

Just modify the comment between quotes to whatever you want and it should checkin all files at once. If you don't want the prompt since you'll be using the same comment each time, just add /noprompt to the end of the line.
DevinL
SAPIEN Technologies, Inc.
User avatar
$$C-1T
Posts: 6
Joined: Wed Jun 17, 2015 7:37 am

Re: PowerShell Studio "add to" with TFS problem

Postby $$C-1T » Wed Feb 10, 2016 12:23 am

I will add this, thanks for your Support :)
User avatar
DevinL
Site Admin
Posts: 733
Joined: Mon Aug 17, 2015 2:25 pm

Re: PowerShell Studio "add to" with TFS problem

Postby DevinL » Wed Feb 10, 2016 9:48 am

No problem! If you have any further issues, please don't hesitate to post again.
DevinL
SAPIEN Technologies, Inc.

Return to “PowerShell Studio”

Who is online

Users browsing this forum: Alexander Riedel and 8 guests