PowerShell Studio "add to" with TFS problem

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION 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.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 8 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
KSSG-Departement-IT
Posts: 8
Last visit: Fri Mar 01, 2024 3:35 am

Re: PowerShell Studio "add to" with TFS problem

Post by KSSG-Departement-IT »

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 2655 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.
DevinL
Posts: 1098
Last visit: Tue Jun 06, 2017 9:15 am

Re: PowerShell Studio "add to" with TFS problem

Post by DevinL »

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
KSSG-Departement-IT
Posts: 8
Last visit: Fri Mar 01, 2024 3:35 am

Re: PowerShell Studio "add to" with TFS problem

Post by KSSG-Departement-IT »

I will add this, thanks for your Support :)
DevinL
Posts: 1098
Last visit: Tue Jun 06, 2017 9:15 am

Re: PowerShell Studio "add to" with TFS problem

Post by DevinL »

No problem! If you have any further issues, please don't hesitate to post again.
DevinL
SAPIEN Technologies, Inc.
This topic is 8 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.