Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Persisting context in Team Explorer addin

$
0
0

For VS 2012, is there a way to have the context object returned everytime your custom page is hit? Currently, the SaveContext is called whenever you leave a TeamExplorerPage. However, the context is only given when you use the navigation buttons at the top. Otherwise, it considers it a first time initialization.

Is there any way to have that context object passed into Initialize whenever the page is navigated to? Would this have to be done when setting up the Execute of the NavigationItem class? How would that get the existing context from the history?

It seems like Pending Changes saves the Check-in comment regardless of how you navigate to it. I'd like to be able to do something similar with my context.

Thanks


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>