When you’re developing in C/AL in Business Central/NAV 2018, you might run into this issue: You want to edit the code in an object through the Developer Environment, and the Application automatically crashes or closes without displaying an error message. This occurs when you open a Codeunit or click on C/AL editor in a Page/Table, and it occurs only when you are designing the object and go to C/AL code by hitting F9.
Last Directions US and EMEA, I had the opportunity to talk about – uhm – myself. Well, not really – about my tools. It was a weird experience – but it got more attention than I ever expected.
Now, during that session, I showed a tool that I wanted to put out there for sooooo long: a way to analyze your C/AL Source Code with PowerShell.
This was actually an “let’s see what we can do and how far we can go”-challenge during our free time ;-), where the .Net part (which is the majority of the work) wasn’t done by me, although I was quite (let’s say “overly”) involved with the entire evolution of it ;-). The tool might not be completely new to you. I have been using it for quite some time to talk about some things within the product, like:
As you might have figured in quite some sessions, threads and posts, I’m quite fond running docker images on a remote Hyper-V on my laptop. From the moment it was described by Arend Jan, I’m using it. In my opinion, it’s a much better way to run, because Windows Server is so much better in memory management as Windows 10 is (in regards of Docker that is).
Converting from C/AL to AL can be a bit of a hassle: First you need to open den Development Environment Then filter the objects that needs converting Export the objects to a txt file in a folder Then Run the Txt2AL.exe Lastly import them in the workspace So, I thought: Why cannot I do that directly from VS Code with PowerShell?