When attempting to debug X++ code the Visual Studio 2019 debugger can crash unexpectedly.... You can work around this issue by going back into your Dynamics 365 Finance and Operations environment and navigating to Options before moving to the debugging section Check the check box "Debug items in the solution and items in specific packages". … Continue reading Visual Studio 2019 Debugger Crashing When Attempting to Debug X++ Code
Category: Visual Studio
Azure Devops – Avoid changing status of Work items after checkin
The default setting in Visual Studio is to resolve work items on check in. To change this behaviour, go to Tools > Options > Source Control > Visual Studio Team Foundation Server and uncheck the box marked Resolve associated work items on check-in
Visual Studio – Enable vertical scroll bar
If your Visual Studio vertical scroll bar disappears just enable it by going to Tools > Options > Text Editor > All Languages > Scroll Bars Check the appropriate scroll bars et voila
Visual Studio hot keys to Convert text to uppercase or lowercase
Select the text you want to convert. To convert text to all upper case, choose Edit > Advanced > Make Uppercase or press Ctrl+Shift+U. To convert text to all lower case, choose Edit > Advanced > Make Lowercase or press Ctrl+U.
AX / D365FO – Disable best practice rules while compiling in Visual Studio
By default Visual studio has several build rules, including best practice checking. Very often it signals you that you need to write method documentation or comment your lines of code. We don't always want this to be reported to us, so if we want to disable these warnings we need to disable this setting.To do … Continue reading AX / D365FO – Disable best practice rules while compiling in Visual Studio
AX / D365FO – Team Build Error: The Path … is already mapped to workspace
On the File menu, point to Source Control, Advanced, and then click Workspaces.... In the Manage Workspaces dialog box, tick the Show remote packages checkbox. Under the Name column, select the workspace that you want to remove, and then click Remove. In the Confirmation dialog box, click OK.
AX / D365FO – Debug Production environment on D365FO On-Premise version
If you have an On-premise D365FO installation it is possible to debug production or test environments by using a development VM and remote debugging tool Just follow these steps : Use a D365 developer environment Use a development environment which is on the domain (and of course the network) with the AOS machine The dev … Continue reading AX / D365FO – Debug Production environment on D365FO On-Premise version
AX / D365FO – HOW TO : “Cannot get IGraphDocumentManager” to view application object hierarchy
If you face this error when trying to view application object hierarchy it means you have to install an option Visual Studio component. You can install it from Tools\Get Tools and Features\Individual components\ Go to Individual components > Code tools > DGML editor and enable it and then enable "Finance and Operations (Dynamics 365)" under … Continue reading AX / D365FO – HOW TO : “Cannot get IGraphDocumentManager” to view application object hierarchy
AX / D365FO – Import and Export ax models in Dynamics 365 for Finance and Operations
Export a Model We ca use ModelUtil.exe, is a tool located in the path K:\AosService\PackagesLocalDirectory\Bin, where K drive could be different if you are not in a cloud environment. Export the model store from the source environment open a cmd with Administrative Privileges and navigate the path of ModelUtil.exe, now run this command: ModelUtil.exe -export … Continue reading AX / D365FO – Import and Export ax models in Dynamics 365 for Finance and Operations
AX / D365FO – How to debug Batch jobs and Service operations in AX2012
Here is a good article that describes how to debug a batch job in AX2012 : https://dynamicsaxinsight.wordpress.com/2014/03/10/ax-2012-how-to-debug-batch-jobs-and-service-operations/