Comments (12)
Are you looking for the LZMA or 7z part of the library? While the parts that are there are working the 7z API is not ready for distribution, its still in experimental stages and changes a lot every time I work on it. For the LZMA encoders/decoders I could consider creating a nuget package however.
Currently I'm concentrating my work on creating a "universal windows" version of the library, which has the advantage of being able to use C++ and getting the performance of the native lzma implementation. Once that's done I should have a better idea how the API will look like and will proceed on cleaning up the managed libraries. That would be the point where I'd create nuget packages I guess. If you'd like to have a nuget package for the LZMA part sooner I could make a prerelease version sometime next week, but the API would not be final.
from managed-lzma.
Wow! A complete library for .NET Core would be awesome!
On Aug 20, 2015 12:37 AM, "Tobias Kรคs" [email protected] wrote:
Are you looking for the LZMA or 7z part of the library? The 7z part is not
ready for distribution, its still in experimental stages and changes a lot
every time I work on it. For the LZMA encoders/decoders I could consider
creating a nuget package however.Currently I'm concentrating my work on creating a "universal windows"
version of the library, which has the advantage of being able to use C++
and getting the performance of the native lzma implementation. Once that's
done I should have a better idea how the API will look like and will
proceed on cleaning up the managed libraries. That would be the point where
I'd create nuget packages I guess. If you'd like to have a nuget package
for the LZMA part sooner I could make a prerelease version sometime next
week, but the API would not be final.โ
Reply to this email directly or view it on GitHub
#8 (comment)
.
from managed-lzma.
Ping on this ๐ - MyGet may be better as it actually allows deleting packages. AppVeyor/Travis may help you automate builds so there's less work for you
from managed-lzma.
I did a quick check on myget and I don't think I'd be immediately using any of the additional services they provide.
(Also deleting packages is a really bad idea, it makes the service unreliable and makes users want to mirror the packages in case stuff gets deleted, so as a user I'm actually glad nuget doesn't allow it!)
from managed-lzma.
Also as a status update on the actual issue, some of it mentioned on gitter:
I'm currently working on wrapping up the new API (which is already merged into the master branch) and planning beta nuget packages by the end of the month.
However I'm having some problems creating a portable library for the project in VS 2015 so it might be just desktop libraries on nuget for now. The problem is that when I define a portable library in VS 2015 and want to add the required nuget libraries for cryptography (which exist but are rather new) then VS and/or nuget errors out resolving dependencies. I hoped VS Update 1 would fix that but it didn't.
from managed-lzma.
What's the package source? Perhaps a solution-level packages.config could help.
from managed-lzma.
Also, can you paste some of the errors here for reference?
from managed-lzma.
Just create a portable library project and and add a nuget reference to System.Security.Cryptography.Algorithms (the corefx package for the AES encryption/decryption algorithms) and it will fail.
System.Security.Cryptography.Algorithms 4.0.0-beta-23516 is not compatible with .NETPlatform,Version=v5.0.
Some packages are not compatible with .NETPlatform,Version=v5.0.
All packages are compatible with .NETFramework,Version=v4.6.
All packages are compatible with UAP,Version=v10.0.
All packages are compatible with DNXCore,Version=v5.0.
All packages are compatible with .NETFramework,Version=v4.6 (win-x86).
All packages are compatible with .NETFramework,Version=v4.6 (win-x64).
All packages are compatible with UAP,Version=v10.0 (win10-x86).
All packages are compatible with UAP,Version=v10.0 (win10-x86-aot).
All packages are compatible with UAP,Version=v10.0 (win10-x64).
All packages are compatible with UAP,Version=v10.0 (win10-x64-aot).
All packages are compatible with UAP,Version=v10.0 (win10-arm).
All packages are compatible with UAP,Version=v10.0 (win10-arm-aot).
All packages are compatible with DNXCore,Version=v5.0 (win7-x86).
All packages are compatible with DNXCore,Version=v5.0 (win7-x64).
Note that whatever framework you chose for the portable library to support doesn't matter, it always errors out on ".NET Platform 5.0" (and the nuget package indeed says it requires ".NET Platform 5.1" - but I don't see where I can configure that in Visual Studio). So far I have not found any reference on the net what that ".NET Platform 5.0" means. There is the possibility that VS simply cannot deal with these corefx libraries yet.
I haven't done anything with .NET Core yet, so portable libraries may actually be the wrong project type. If you have any links or suggestions to share that would probably help.
from managed-lzma.
Actually while reproducing the issue for you I noticed that if I don't take the newest version of the library there's an older one which still supported ".NET Platform 5.0" and also has AES support, so I may get away referencing that one.
from managed-lzma.
I've been able to setup a portable library project and compile it, but nuget refuses to build a package out of it. I'm getting an error targetFramework attribute not declared
if I run nuget on the project.
For the record, I've been trying to follow the explanations from this blog post
I'd appreciate any hints, links, or a working nuspec file ;-)
For now I've made a nuget package for the desktop framework to get started. You can find it under https://www.nuget.org/packages/ManagedLzma
I don't have much of a documentation or examples yet, but you can take a look at the code in the repository to get started.
Of course any testing and potential bug reports are welcome too.
from managed-lzma.
I've checked in a 2nd variant of a portable project which uses older nuget references and the older packages.config
instead of project.json
format. Of course that means it won't target .NET Core, ASP.NET 5 or UWP (these need the project.json file which I can't get to work).
Not publishing a portable nuget package yet because I want to try to figure out if I can get the desktop and portable build into the same package (instead of making two distinct packages).
from managed-lzma.
I've pushed a .NET Standard 1.3/2.0 nuget package under v0.2-alpha-7 which should cover most platforms which previously were using portable. If anyone still needs portable support, I have it working, I just don't know how to write a nuspec for it. Unless someone still requires portable (and knows how to write the nuspec) I'll stick to .NET Standard.
from managed-lzma.
Related Issues (20)
- ArchiveFileModel does not expose file metadata HOT 3
- Implement DELTA and BZIP2 decoders
- Could not install package 'ManagedLzma 0.2.0-alpha-4' HOT 3
- No able unzip when the source file over 20mb folder when Zip file with LZMA2 and AesEncoder HOT 2
- Support linux file attributes in 7z archives HOT 7
- Extract posix file attributes from 7z archives
- readme.md documentation
- Get feedback on amount of unflushed data in buffers HOT 1
- Implement PPMD decoder without using 'unsafe' code
- Consider using `ref return` feature
- Create .NET Standard 2.0 package HOT 1
- Decoding Exception HOT 4
- Decoder performance
- How to compress a Byte Array Or MemoryStream? The library needs documentation. HOT 1
- OverflowException in ctor of master/7zip/Decoder/BufferedStream.cs HOT 1
- How to add a folder and add files under the folder? HOT 3
- Multithreaded operation possilble? HOT 6
- Unable to decompress zero lenght file
- Data decompresses with C++ but exceptions when decompressed with managed lzma HOT 6
- sandbox-7z example code fails when archive contains empty file HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from managed-lzma.