Open orchardbot opened 10 years ago
urbanit commented:
Check here: https://orchard.codeplex.com/workitem/20598 and here: https://orchard.codeplex.com/workitem/20681.
@sebastienros commented:
It might be a nuget bug. We'd need to debug to figure out. Nuget API is handling the packages internally, and because we are using a very very very old version we might not be able to fix it this easily.
sentakusenshi created: https://orchard.codeplex.com/workitem/20749
I've created a theme with the images
when I go and run package create I get the error: Could not find file '[Path To theme]\Content\image%402x.png'.
removing or renaming the image@2x.png from the project fixes the error however doing so either gets the former removes retina images, and the later prevents the use of the standard retina naming scheme.
Exception Details: System.IO.FileNotFoundException: Could not find file '[Path To theme]\Content\image%402x.png'.
Stack Trace:
[FileNotFoundException: Could not find file '[Path To theme]\Content\image%402x.png'.] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Web.Hosting.MapPathBasedVirtualFile.Open() at Orchard.FileSystems.VirtualPath.DefaultVirtualPathProvider.OpenFile(String virtualPath) in c:\Users\corey_struble\Documents\Projects\WebProjects\RecreationMangament\src\Orchard\FileSystems\VirtualPath\DefaultVirtualPathProvider.cs:line 107 at Orchard.FileSystems.WebSite.WebSiteFolder.CopyFileTo(String virtualPath, Stream destination, Boolean actualContent) in c:\Users\corey_struble\Documents\Projects\WebProjects\RecreationMangament\src\Orchard\FileSystems\WebSite\WebSiteFolder.cs:line 90 at Orchard.FileSystems.WebSite.WebSiteFolder.CopyFileTo(String virtualPath, Stream destination) in c:\Users\corey_struble\Documents\Projects\WebProjects\RecreationMangament\src\Orchard\FileSystems\WebSite\WebSiteFolder.cs:line 74 at Orchard.Packaging.Services.PackageBuilder.VirtualPackageFile.GetStream() at NuGet.PackageBuilder.WriteFiles(Package package) at NuGet.PackageBuilder.Save(Stream stream) at Orchard.Packaging.Services.PackageBuilder.EndPackage(CreateContext context) at Orchard.Packaging.Services.PackageBuilder.BuildPackage(ExtensionDescriptor extensionDescriptor) at Orchard.Packaging.Services.PackageManager.Harvest(String extensionName) at Orchard.Packaging.Commands.PackagingCommands.CreatePackage(String extensionName, String path)