-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.netstandard 1.x support? #219
Comments
Could you try the Core Project ? This doesn't use Emit. I tried it myself many times with .netstandard & (and .NetCore) but got overwhelmed with possiblies of frameworks in .NetCore |
This was the core project that I tried |
I bet you tried the .Net45 Platform, which has Emit in it, better copy .Net45 Platform Code and replace the EmitHandler with the ExpressionReflectionHandler |
I tried recreating the project as a .netcore one, in Visual Studio 2015 Preview 3 as I couldn't get the upgrade tool working with the LiteDb.Core solution. It compiled but the tooling is so flakey I eventually gave up. I think to move to .netstandard 1.6 you will need to use a new project with links, and remove the Android/iOS/WUP providers and import System.Cryptopgraphy.Algorithms in the project.json. It definitely needs knowledge of the code base to do, I wouldn't be confident doing it in a PR. However it shouldn't take more than a few hours max. |
Hi @yetanotherchris, I tried to do this too, and gave up too. I didnt know deeply this new core world. I will needs study more to try convert. I beleave that, with this new LiteDB.Core solution will not be too complex. tip: If you are converting, the folder "LiteDB\Platform (https://github.com/mbdavid/LiteDB/tree/master/LiteDB/Platform)" contains all implementations for all platforms. So, in vs project I add/remove according target library. All rest of source are some to all platforms. |
I finally managed to get it compiling, after ditching using VS2015 Preview 3 and going back to VS2015 Update 3. I created a brand new .netcore class library, and added PCL as my compilation symbol. A few things I've noticed:
Anyway this is the
|
|
Until Microsoft add Rijndael I'll leave this issue closed. Project.json still exists, but the tooling update due in Q1 2017 is going to make it obselete. The APIs should also be a lot richer then too, so it's probably not worth doing until Microsoft release the V2 of .NET core instead of the current rushed out version. |
I know this issue is closed, but: For the last couple of hours I've been working on implementing my own I got the Emit stuff to compile. @yetanotherchris it looks like you were missing As for Rijndael, I just used AES in my |
Hi @sgrassie, did you do Platform Asp.Net core works? Do you want request a PL? I'm stat working in dev branch to next v3 will be .netstandard 1.4 compatible. |
I can pull the stuff I've done out and send a PR through, I will sort it On Tue, 13 Sep 2016, 11:53 Mauricio David, [email protected] wrote:
|
I've not had time to put together a PR, and at the moment it will probably On Fri, 16 Sep 2016, 17:00 Victor, [email protected] wrote:
|
Hi - thanks for making this open source, it's amazing how fast it is and cleanly written code.
Are there any plans to support .netstandard 1.x any time soon? I tried cloning and using the VS tool but there were a few problems with Emit.
I'm not sure if that was the codebase or because I don't have the whole PCL bits installed though.
The text was updated successfully, but these errors were encountered: