I'm creating a package with some demo content for Umbraco 9 and 10. The package consists of document types, content and medias.
The migration is an AutomaticPackageMigrationPlan and both the package.xml and the media files are registered as Embedded resource and Copy always.
When the NuGet package is install all document types, content and medias are create correct, however the physical media files are not copied to the wwwroot\media folder.
Do I need to do something diffently in my package or is it a permission issue?
Umbraco package including media
Hi,
I'm creating a package with some demo content for Umbraco 9 and 10. The package consists of document types, content and medias.
The migration is an
AutomaticPackageMigrationPlan
and both the package.xml and the media files are registered as Embedded resource and Copy always.When the NuGet package is install all document types, content and medias are create correct, however the physical media files are not copied to the wwwroot\media folder.
Do I need to do something diffently in my package or is it a permission issue?
After help from Umbraco support, we got it working.
We had to change two things:
AutomaticPackageMigrationPlan
is not working, you must usePackageMigrationPlan
insteadis working on a reply...