kine / MSDYN365BC_Yaml

Yaml templates for CI/CD for Micrsoft Dynamics 365 Business Central
MIT License
20 stars 18 forks source link

Build fails: The appprojectfolder is not shared with container #7

Closed epernst closed 5 years ago

epernst commented 5 years ago

Hi Kamil, I'm getting an error in the compile task.

2019-01-23T15:05:53.3000776Z Compiling MainApp 2019-01-23T15:05:53.6540041Z ##[error]The appProjectFolder (C:\DevOpsAgent\BHBC_work\1\s\MainApp) is not shared with the container. 2019-01-23T15:05:53.6605149Z ##[error]At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\0.4.3.2\AppHandling\Compile-AppInNavContainer.ps1:56 c har:9

Have you seen this one before?

kine commented 5 years ago

Please, check, that the agent folder is shared with the container (should be automatically done when Init-ALEnvironment is triggered for the repository).

Even check that you are using latest NVRAppDevOps and navcontainerhelper module versions.

kine commented 5 years ago

I recommend to try upgrade the docker on the server.

epernst commented 5 years ago

Upgrading from version 17.x to 18.x worked! 👍