GithubHelp home page GithubHelp logo

Comments (6)

dgerding avatar dgerding commented on June 2, 2024

Update... I got rid of those errors by removing the reference to netcoreapp1.0 in the BrightstarDB.Tests project.

from brightstardb.

dgerding avatar dgerding commented on June 2, 2024

I'm getting 131 failed to 278 passed... which is why I'm concerned about using this latest build.

I know you didn't use that last pull request... but is there some other way I can help?

from brightstardb.

dgerding avatar dgerding commented on June 2, 2024

@kal Update: I've taken another pass at converting the existing to BrightstarDB project to .net standard 2.0, this time removing all the conditional compilation bits and related cruft code (200 little dorky edits). I then made a new .net core 2.2 nunit test project and now there are only 25 tests failing.

I'll probably do another pull request but we can chat first. I'm hoping you're willing to lose the .net 4.5 compatibilities since moving to .net standard 2 still supports .net 461.

from brightstardb.

kal avatar kal commented on June 2, 2024

Hi Dave,

There was a compile time error introduced by a minor version update to Moq in which they took out support for netstandard 1.0. It seems a bit strange to me that they would do that on a minor update but anyway the fix is to change the package reference to be fixed to 4.10.1 which was the last version that supported netstandard 1.0.

Once I do that I can compile everything in the core solution (src/core/core.sln) and run the tests across all platforms and I get:

netcoreapp 1.0 - 1221 / 1221 tests pass
netcoreapp 2.0&2.1 - 1305/1305 tests pass
.net451 - 1290/1290 tests pass

The netstandard 2 support is split across netcoreapp 2.0 and 2.1 because the code generation tests require netcoreapp2.1 (as you've noticed I think from those error messages you are seeing).

I'm going to look at modifying the projects and the appveyor build so that commits to the develop branch package up and release nuget pre-release packages, but for now if you have access to VS (I'm using 2017 still at the moment) then please try just building and running the tests in core.sln from inside VS, or take a look at the appveyor.yml and follow the same steps as are used in there to build the solution.

from brightstardb.

dgerding avatar dgerding commented on June 2, 2024

Hi Kal,
Hmm.. maybe it's because I'm on VS2019. I'll try the newest commit with the #319 fix and let you know.

If you decide you want the version of the BrightstartDB project with the target specific compiler directives (and non-standard 2 code snippets) removed let me know. I left a comment breadcrumb where I removed anything edit but it was basically manual search and replace. Single target .net standard 2.0 project.

Thanks for the quick reply.

from brightstardb.

dgerding avatar dgerding commented on June 2, 2024

Thanks! (see note in #319)

from brightstardb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.