Comments (6)
Update... I got rid of those errors by removing the reference to netcoreapp1.0 in the BrightstarDB.Tests project.
from brightstardb.
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.
@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.
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.
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.
Thanks! (see note in #319)
from brightstardb.
Related Issues (20)
- Question: Any Interest in .Net Standard Build? HOT 2
- Standalone .Net Standard 2.0 Target of BrightstarDB Building without Errors :) HOT 3
- Failing tests in BrightstarDB.Tests
- Failing tests in BrightstarDB.CodeGeneration.Tests
- Failing Tests in BrightstarDB.EntityFramework.Tests
- Change configuration API
- Change APIs to async
- Update project readme
- Question: Should we build with Develop or use Nuget?
- Nuget Update? HOT 14
- Question: Identity Store? HOT 2
- Possible documentation inconsistencies regarding persistence modes HOT 2
- Corrupted master.bs HOT 2
- Code generation failure on multiple projects where no entities defined in one project
- Project status HOT 1
- TestExportWhileWriting fails intermittently
- TerminusDb Vs BrightStarDB HOT 1
- BrightstarDB does not compile with recent C# environment.
- Could you detail the usage of Roslyn Source Code Generator ?
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 brightstardb.