I am using Vault 7.1 standard edition with Visual Studio 2008.
When I leave work for the day, I leave VS2008 open but do check all my files in.
When I come back to work next day, I begin working on a c# file but notice I did not get auto checkout.
Turns out I have to refresh my Vault each day BEFORE editing code. Otherwise its not checked out.
Is there a way to force auto refresh and auto checkout in VS2008 the next day?
The only workaround I have is to refresh my bindings. But I don't always remember to do that each morning when I begin.
THanks
BTD
SG Vault Standard Error
Moderator: SourceGear
Re: SG Vault Standard Error
Vault has a status refresh, which you probably already have set, but I don't think that will help with the VS bindings.
Does your VS project take too long to load in the morning? If so, I think you can make a little command-line script to start up Visual Studio and your project and schedule it to start before you arrive at work. Would that get you to what you need?
Does your VS project take too long to load in the morning? If so, I think you can make a little command-line script to start up Visual Studio and your project and schedule it to start before you arrive at work. Would that get you to what you need?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: SG Vault Standard Error
No, my VS project doesn't take long as its already loaded remember? I don't shut down VS when I leave work.
Yes, if you can send me a script that will refresh my Vault connection, that may just do the trick!
BTD
Yes, if you can send me a script that will refresh my Vault connection, that may just do the trick!
BTD
Re: SG Vault Standard Error
Can you send me the script to wake up Vault please?
Thanks
BTD
Thanks
BTD
Re: SG Vault Standard Error
I didn't actually have one yet. So far I know one can start Visual Studio by running devenv from the command line. I don't know if one can just call their project behind that or not.
Some of the commands for devenv can be found here: http://143home.blogspot.com/2010_12_17_archive.html.
If it's not requiring you to login each day, then you can just run
For example, I opened a solution with the following:
That can be thrown into a .bat file and then scheduled with Task Scheduler.
Some of the commands for devenv can be found here: http://143home.blogspot.com/2010_12_17_archive.html.
If it's not requiring you to login each day, then you can just run
Code: Select all
devenv mysolutionfile.sln
Code: Select all
"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" "C:\Users\myname\Documents\Visual Studio 2012\Projects\WebApplication1\WebApplication1.sln"
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: SG Vault Standard Error
That works for me.
Thanks alot and have a great week!
Thanks alot and have a great week!