Professional Documents
Culture Documents
After installing Dynamics NAV 2018, I want to configure Visual Studio Code with Dynamics NAV to
use new Development tool.
Or in the
Once you select the “Your own server” you will see a code like below in the “launch.json” file.
Visual Studio code configuration to NAV 2018
I have updated my ServerInstance as DynamicsNAV110 (you check your instance name if changed while
installing server)
I have updated my Authentication as Windows (I am using Windows authentication update what yours
use accordingly)
I have added Port as 8049 (please check and use accordingly you are using the port, if using default 7049
then this step not required)
The server url and the web client url are assumed to be the same. That is not the case. The two settings
we talked about above, the server url and the developer port number, are the only settings you need in
the launch.json.
When VS Code publishes the extension to the NAV server, the NAV server returns the web client url as a
response. This url is then opened in the browser. No setting needed in the launch.json at all.
The NAV server reads that setting from the Web Client Base Url server setting.
Visual Studio code configuration to NAV 2018