StrataFrame Forum
Home
»
.NET Forums
»
General .NET Discussion
Token not saving between .NET sessions
http://forum.strataframe.net/Topic21157.aspx
By Charles R Hankey
-
12/11/2008
I am setting a token in tools\options\environmen\tasklist
I can add it to the list, I can use it in the comments of the task list, but when I close VS and reopen it the token is gone. All other Options setting save just fine and in 2 other VS installations on two other boxes the token is there after exiting and coming back.
If I export settings, then reimport them on starting up again the token is there, but if I then close VS and reopen it the token is gone.
Have rebooted the box a couple times. Vista with all the latest.
Suggestions appreciated.
By Edhy Rijo
-
12/12/2008
Hi Charles,
Try running VS as an Administrator, right click the VS shortcut and select "Run as Administrator".
By Charles R Hankey
-
12/12/2008
Sounded good but that didn't do it either. (actually, the only account I use on that box is an admin account but I did as you suggested anyway but unfortunately didn't make any difference)
It does make a difference for some stuff when using SSMS with SQL 2008 so I was pretty excited about the idea though.
I imagine this stuff is kept in an xml file someplace and mine thinks that field doesn't have to be changed when I close.
By Charles R Hankey
-
12/12/2008
SOLUTION !
It was Greg McGuffey's fault!
Greg turned me on to a great source control tool VisualSVN.
Turns out ( god I love Google ) that with VisualSVN installed and a project open the tokens won't get saved. You have to open VS without opening a project, add the custom token to the list, then close VS. Next time you open up the token is there.
Go figure.
( VisualSVN worth checking out (little source control joke there). ) Free, extremely easy to install and at least for a single developer just trying to cover his tail looks like a pretty good solution (certainly a better one than
no
source control
)
By Greg McGuffey
-
12/14/2008
That is good to know for the next time I recommend VisualSVN.
By Charles R Hankey
-
12/15/2008
I think you can be forgiven on this one
Pretty obscure bug but a great recommendation for (and urging to use) source control !