Fixes 27864, xslt/usercontrols are not added to package automatically

[TFS Changeset #73434]
This commit is contained in:
hartvig
2010-07-20 12:51:15 +00:00
parent c5caf09dba
commit 47ec8f19fe

View File

@@ -134,7 +134,7 @@ namespace umbraco.cms.businesslogic.packager {
if (appendFile) {
if (!string.IsNullOrEmpty(mcr.Xslt))
AppendFileToManifest(SystemDirectories.Xslt + mcr.Xslt, packageDirectory, doc);
AppendFileToManifest(IOHelper.ResolveUrl(SystemDirectories.Xslt) + "/" + mcr.Xslt, packageDirectory, doc);
if (!string.IsNullOrEmpty(mcr.Type))
AppendFileToManifest(mcr.Type, packageDirectory, doc);