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.
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.
PowerShell Studio "add to" with TFS problem
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.
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.
- KSSG-Departement-IT
- Posts: 8
- Last visit: Fri Mar 01, 2024 3:35 am
Re: PowerShell Studio "add to" with TFS problem
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.
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.
SAPIEN Technologies, Inc.
- KSSG-Departement-IT
- Posts: 8
- Last visit: Fri Mar 01, 2024 3:35 am
Re: PowerShell Studio "add to" with TFS problem
No problem! If you have any further issues, please don't hesitate to post again.
DevinL
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.