When I want to package my Module or Theme in a custom folder the packaging process fails with following error:
Cannot create a package that has no dependencies nor content.
Exception Details: System.InvalidOperationException: Cannot create a package that has no dependencies nor content.
Stack Trace:
[InvalidOperationException: Cannot create a package that has no dependencies nor content.]
bei NuGet.PackageBuilder.Save(Stream stream)
bei Orchard.Packaging.Services.PackageBuilder.EndPackage(CreateContext context)
bei Orchard.Packaging.Services.PackageBuilder.BuildPackage(ExtensionDescriptor extensionDescriptor)
bei Orchard.Packaging.Services.PackageManager.Harvest(String extensionName)
bei Orchard.Packaging.Commands.PackagingCommands.CreatePackage(String extensionName, String path)
I think it is because in the PackageBuilder the paths are mapped in favour of the typ (theme or module) - see here.
I tried to debug and changed the paths manually and it worked.
When I want to package my Module or Theme in a custom folder the packaging process fails with following error:
I think it is because in the PackageBuilder the paths are mapped in favour of the typ (theme or module) - see here. I tried to debug and changed the paths manually and it worked.