Reputation: 3480
We are a company that started using TFS 2015. My colleague has created a C# Windows Form application. He sends me a Code Review request from TFS. I was able to get his request and accept it as well.
The problem I am facing is that I am not able to see the GUI itself but only the code. Clicking on form, display the code but not the designer.
I tried an alternative way asking him to shelve his changes but I am not able to unshelve his changes until he's doing a check-in which is contrary to our internal policy.
What is the way to review the GUI using Code Review feature in TFS?
Adding Screenshots:
Upvotes: 1
Views: 1539
Reputation: 200
The forms designer actually instantiates an instance of the form object, so it needs more than just the diff presented by TFS to load. Say, for example, that the form uses third party controls. In that case it would really need to load the entire project to ensure it gets the proper assembly references, etc.
While you may not be able to do this from the code review itself, TFS does create a shelveset behind the scenes that goes with the review. You can unshelve that onto your machine, which gives you the full project/solution complete with changes made for the submitted review. With that, you can do anything you would normally do. Not the most convenient, but it works.
Upvotes: 0
Reputation: 21999
"Open" (double click) in TFS tabs will open form in code view.
You can press SHIFT+F7 to execute View.ViewDesigner
command to switch from code view into designer.
Upvotes: 0