First chance exceptions

Dynamics 365 for Finance and Operations runs completely in “.NET”, which has some interesting implications. The runtime and tools working with it (such as Visual Studio) offer many new options that may be very useful. One of these options is the ability to catch first chance exceptions. When an exception is thrown, it’s considered a …

Continue reading ‘First chance exceptions’ »

‘Get latest’ failed on a file without permissions

A few days ago I was getting latest changes from VSTS to an AX 7 development box when it failed on a certain (custom) .dll file, because Visual Studio wasn’t able to overwrite the file. I made sure that all AX services are down, but it made no difference. Then I looked at file permissions …

Continue reading ‘‘Get latest’ failed on a file without permissions’ »

Application Explorer filtering

Application Explorer in AX 7 allows easy filtering, which is extremely useful, because trying to locate something in AOT is what we do all the time (I really missed this feature for many years). It looks simple, but it’s very powerful, if you know how to use it. First of all, you can simply put …

Continue reading ‘Application Explorer filtering’ »

Fonts and colors in Visual Studio

Moving Dynamics AX development to Visual Studio gave us a state-of-art IDE with many features and configuration options. For instance, you can modify fonts, font sizes and color to match your preference and to help to overcome certain visual impairments. These options are available from Options > Environment > Fonts and Colors. You can configure many …

Continue reading ‘Fonts and colors in Visual Studio’ »

Custom code snippets in AX 7

I already explained how to use code snippets and a problem you might run into, but what if you want some additional snippets? The good news is that you can easily build new snippets by yourself. Let’s use a concrete example. Let’s say that you often write queries with the query framework and execute them …

Continue reading ‘Custom code snippets in AX 7’ »