enkelmedia / TheDashboard

Magic dashboard for Umbraco
MIT License
39 stars 42 forks source link

App Plugins folder not copied to output on publish #68

Closed AaronSadlerUK closed 3 years ago

AaronSadlerUK commented 3 years ago

When publishing an Umbraco V9 website, the App Plugins folder does not get copied to the output / publish folder

enkelmedia commented 3 years ago

Hi! What version of the package are you on?

There was an issue related to this: https://github.com/enkelmedia/TheDashboard/issues/64 but maybe this did not solve the problem for everyone.

Can you elaborate a little more? Does it work during development but not when you "publish" the website from Visual Studio? Or how do you publish the website?

AaronSadlerUK commented 3 years ago

So I'm using 9.0.0-rc003

It works perfectly in development, it's only when you publish and run that version when the issue occurs

Just to add, this is a Windows machine so I didn't think the folder casing should be an issue

The following is logged in the browser console:

umbraco-backoffice-js.js.v1:152

Error: [$controller:ctrlreg] http://errors.angularjs.org/1.8.0/$controller/ctrlreg?p0=Our.Umbraco.TheDashboard.Controller

With the following logged:

No such file exists /app_plugins/Our.Umbraco.TheDashboard/TheDashboard.css (mapped from /app_plugins/Our.Umbraco.TheDashboard/TheDashboard.css)
File name: '/app_plugins/Our.Umbraco.TheDashboard/TheDashboard.css'
System.IO.FileNotFoundException: No such file exists /app_plugins/Our.Umbraco.TheDashboard/TheDashboard.controller.js (mapped from /app_plugins/Our.Umbraco.TheDashboard/TheDashboard.controller.js)
File name: '/app_plugins/Our.Umbraco.TheDashboard/TheDashboard.controller.js'
AaronSadlerUK commented 3 years ago

Ok ignore me, my csproj was from the umbraco beta, and had not been updated for the 9.0.0 stable