Closed xi-osman closed 4 years ago
Figured a way to deploy the resources but I have to use Visual Studio to build or use the command line to build.
Is there a command or flag I need to add on Invoke-D365ModuleFullCompile
to deploy resources like the highlighted text from above?
Hi @xi-osman
Thanks for reaching out! This is the first time anyone actually requested something like that.
So your solution contains HTML and JS files, that you want be compiled and then "deployed" to the output folder of the module?
Could you share some more screenshots of the expected behavior, so I can learn more about your scenario?
Would it be a solution if we could wrap the devenv command that you just shared, into the module? That way we could keep what we already have and don't break stuff, while giving you some tools to work with.
Hey @Splaxi
My solution contains an extensible control this way we are able to create something custom that's where HTML and JS comes in. For our development flow we have these Review machines where we automated a build of our branch (We use GIT). But the static files never made it into the WebRoot\Resources\Html and this makes it hard to review since we now have to log on the machine and do a build again.
Build via Power Shell using d365fo.tools
Build via Visual Studio or devenv using a VS sln
Or if I can replicate what this tool can do that would be great.
Unless I'm doing this process wrong. Would I have to build, create package then apply package? Hope this gives you enough info and I do apologize for censoring a lot just don't want to share our company's code :)
I'm closing this issue.
I believe the tools are not capable of fixing this for you and you should look for the solution in some of the public tools provided by Microsoft.
Question so I'm able to build a model but the model also has html and js resources but these do not get moved over to the WebRoot. What command am I missing?
Currently running this to build.
Invoke-D365ModuleFullCompile -Module