Skip to main content

Notifications

Business Central forum
Suggested answer

Deploy Output Dev App (Ctrl+F5) from outFolder

Posted on by 12
Hi Team,
 
I am trying to use the feature to generate the App file in predefined folder. In my case I want to store App file in App folder (a separate folder), so I changed the settings.json like below:
 
But when trying to publish in Sandbox from VS code , getting below error. 
Press Ctrl + F5
 
If there any other settings that I need to define for build and deploy process. 
 
Thanks,
Manish Sinha
Categories:
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 4,429 User Group Leader on at
    Deploy Output Dev App (Ctrl+F5) from outFolder
    Hi @Manish,
     
    I think there a bug in this case !
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Manish Sinha Profile Picture
    Manish Sinha 12 on at
    Deploy Output Dev App (Ctrl+F5) from outFolder
    Hi @Amine,
     
    Build (Ctrl+Shift+B) is working and new APP file is created in the app folder.
    The issue is when you try for Run without Debugging (Ctrl+F5) or Debugging (F5)
     
    Thanks,
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 4,429 User Group Leader on at
    Deploy Output Dev App (Ctrl+F5) from outFolder
    Hi @Manish,
     
    Try to build without debugging.
    CTRL + SHIFT + B
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Manish Sinha Profile Picture
    Manish Sinha 12 on at
    Deploy Output Dev App (Ctrl+F5) from outFolder
    Thanks for your response @Amine,
    I tried your suggestion but no luck. I replaced the spaces with underscore, but same error.
     
  • Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 4,429 User Group Leader on at
    Deploy Output Dev App (Ctrl+F5) from outFolder
    Hi @Manish,
     
    I think the problem is due to the spaces between the words in the file name.
    can you check the app.json file ?
     
    Best reards,
    Mohamed Amine MAHMOUDI

Helpful resources

Quick Links

Upcoming TechTalk: Copilot Capabilities…

Review the Copilot features that are currently available in Dynamics 365 Finance…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,405 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,370 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans