Skip to main content

Posts

Showing posts with the label TFS

Show deleted items in Source Control Explorer

Common query I have seen a few times. Thought to share a simple tip. There are times when items are deleted or moved to a different model. In that case you may need to see the deleted items to roll it back or see what was deleted. In visual studio, go to the Options and tick the flag to “Show deleted items in the Source Control Explorer”. Alternatively click on this button. Thanks to Joris for pointing it out.

TFS labels with multiple models [AX 2012]

For sometime I have been working on a project which uses multiple models. TFS doesn’t support multiple models and one of the issues is labels. It only works with a single label file from the system settings. My project was building a new module in AX with its own label file. This way we don’t have a dependency on the the existing implementation. We decided to keep it simple by modifying the class that returns the default label id when objects are checked in. By making the small change below – It will return a specific label id (ABC) when you are in the particular model (MyModel).

AX 2012 R2 and TFS online

Just today, I tried setting up TFS online. This is a good blog to get started. http://blogs.msdn.com/b/axinthefield/archive/2014/02/24/efficient-dynamics-ax-application-lifecycle-management-approaches-with-team-foundation-server-in-the-cloud.aspx First, sign up with www.visualstudio.com Setup a new project. As per the blog article mentioned above. Install this. Visual Studio version Team Explorer version Required software Visual Studio 2010 Team Explorer 2010 Requires SP1 and Compat GDR . Important: Make sure to restart your AOS. Go to AX and set up your version control parameters. If you are logged in already via browser or the pop up dialog in AX, it won’t prompt for a log in. Otherwise, it will pop up with a dialog to log in.   Troubleshoot: Error 1: TF400813: Resource not available for anonymous access. Client authentication required Resolution: Install SP1 as recommended above.   Error 2: TF30064: You are not authorized to access the server. R...