Вернуться   AXForum > Microsoft Dynamics NAV > NAV: Blogs
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

Опции темы Поиск в этой теме Опции просмотра
Старый 08.09.2017, 07:13   #1  
Blog bot is offline
Blog bot
20,007 / 681 (63) +++++++
Регистрация: 28.10.2006
waldo: NAV Developer Preview – September (Getting started)

Yesterday, we got a new Development Preview from Microsoft. You can read the announcement on their blog.

This time, a lot has changed on how the image is constructed – basically meaning that my blogs on how to get your development environment on your local system are totally outdated ;-). I will see on getting this available and I might update them.


How I understood it – the machine is a quite “default” machine on Azure, not having too much NAV-specific stuff on it. All NAV-specific bits and bytes are in an “docker image”. If you don’t know what that is – don’t worry :-). I don’t either (or at least not really deep) – and I’m still able to do what I want.

There are just a few things that I would like to point out already, to make your life a bit easier – or let’s say – that made my life somewhat easier on this new image.

You can develop locally

Yes you can! Your VSCode can be local – and it can connect to the NAV instance on your newly created image. You basically just need VSCode and the extension – and you can find the latest version of your extension on the VM (in the C:\DEMO-folder) – or you can even download it from a URL that is provided in the status-page of the VM:

Once you have the vsix on your system, just load it in your VSCode!

Next, you should make some changes to your lauch.json – but these are all indicated on your landing page of the VM that you just created. It should look like this – and in the bottom, you see what I mean:

Then, before you are able to download symbols, or publish an extension, don’t forget to install the certificate, which you can find on the landing page as well. Make sure you install it on your local machine, in the “Trusted Root Certification Authorities”

Happy coding!

Symbolic link

When you are working on the VM, and you want to interact (aka “play”) somewhat with the docker container, there is a PowerShell-shell for you on the desktop:

It will take you to a prompt within the image. One very detail, but not too clear at first, is that Microsoft has foreseen a symbolic link with the host. Basically the c:\DEMO folder on the host, are the very same files as the c:\demo folder in the image. All files you put in that folder, as accessible in both the docker container, as your host.

Very useful for
  • when you want to start playing around within the container
  • Executing some PowerShell
  • Import license
  • Restarting service instance
  • ..
Whatever. Just place the script there – like you see that I have placed my scripts there as well (WaldoPS). You can just edit them on your host – and execute them in the provided shell in the container.

Easy Peasy!

Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2013 Blog bot NAV: Blogs 0 15.05.2016 18:12
Platform updates overview - 3.70.B - NAV2009 R2 Blog bot Dynamics CRM: Blogs 0 07.02.2011 22:06
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2009 SP1 Blog bot Dynamics CRM: Blogs 0 11.06.2010 16:33
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2009 Blog bot Dynamics CRM: Blogs 0 04.06.2010 13:21
Nav developer: Overview of NAV blogs in 2008 Blog bot Dynamics CRM: Blogs 0 07.12.2008 02:18
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Часовой пояс GMT +3, время: 15:08.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.