I tried to install 2.0 (update and fresh install). Unfortunately there is an error while installing.
Could not upload file
System.Exception: Error unpacking extension... ---> System.IO.FileLoadException: API restriction: The assembly 'file:///C:\Users\Arjan\Test installaties\UmbracoCms.7.2.4\App_Data\48f8d59a-ad3e-46fe-91d2-3b8fb049a3bf\libsassnet.dll' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain. Server stack trace: at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.ReflectionOnlyLoadFrom(String assemblyFile) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Umbraco.Core.Packaging.PackageBinaryInspector.PerformScan[T](String dllPath, String[]& errorReport) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Umbraco.Core.Packaging.PackageBinaryInspector.PerformScan[T](String dllPath, String[]& errorReport) at Umbraco.Core.Packaging.PackageBinaryInspector.ScanAssembliesForTypeReference[T](String dllPath, String[]& errorReport) at umbraco.cms.businesslogic.packager.Installer.LoadConfig(String tempDir) at umbraco.cms.businesslogic.packager.Installer.Import(String InputFile) --- End of inner exception stack trace --- at umbraco.cms.businesslogic.packager.Installer.Import(String InputFile) at umbraco.presentation.developer.packages.Installer.uploadFile(Object sender, EventArgs e)
Good to see that you are working on extending the package!
Thanks,
Arjan
Arjan, thanks for your help. I have uploaded a new package that should fix the issue. I thought I was being clever and added the x86 DLL's for LibSassNet in the package but that caused the error you ran into when the package was extracted. I now created seperate packages for x64 and x86.
FYI, I you don't know, LibSassNet is a wrapper for LibSass, a C++ port of the Ruby Sass compiler. LibSassNet has different versions for the different plateforms which is why I have two packages now. I started looking into recompiling LibSassNet to run on either plateform but I don't think that the LibSass C++ part allows for that, I have to admit that my C++ mojo is very very weak so I may be wrong about that assumption. To be honest not sure that providing an x86 version is really that important, I can't even remember that last time I worked on an x86 system, but it there is someone needs the package.
That worked! Just installed the x64 version. You are right, most people will use the x64 version. Can't remember too when I was on a x86 system. Nevertheless if it's not that much of an hassle for you it's good to provide that one too. Otherwise you should drop that one.
The package is looking pretty good. And to be honest I love sassy. Worked way to long without a css pre-processor. And now, with the help of your package, I'll never go back ;) So thanks for that :)
Installation error 2.0
Hi Jason,
I tried to install 2.0 (update and fresh install). Unfortunately there is an error while installing.
Good to see that you are working on extending the package! Thanks, Arjan
Arjan, thanks for your help. I have uploaded a new package that should fix the issue. I thought I was being clever and added the x86 DLL's for LibSassNet in the package but that caused the error you ran into when the package was extracted. I now created seperate packages for x64 and x86.
FYI, I you don't know, LibSassNet is a wrapper for LibSass, a C++ port of the Ruby Sass compiler. LibSassNet has different versions for the different plateforms which is why I have two packages now. I started looking into recompiling LibSassNet to run on either plateform but I don't think that the LibSass C++ part allows for that, I have to admit that my C++ mojo is very very weak so I may be wrong about that assumption. To be honest not sure that providing an x86 version is really that important, I can't even remember that last time I worked on an x86 system, but it there is someone needs the package.
That worked! Just installed the x64 version. You are right, most people will use the x64 version. Can't remember too when I was on a x86 system. Nevertheless if it's not that much of an hassle for you it's good to provide that one too. Otherwise you should drop that one.
The package is looking pretty good. And to be honest I love sassy. Worked way to long without a css pre-processor. And now, with the help of your package, I'll never go back ;) So thanks for that :)
Hi Jason,
The package is really good. Is there a way that I can access the compiled CSS file of the SCSS from the umbraco backend itself?
is working on a reply...