Git Product home page Git Product logo

Comments (21)

ceastwood avatar ceastwood commented on July 19, 2024 2

@vickyRathee
@kwaclaw
@eyedia
@SamarRizvi

v1.0.0-beta-357 is published and supports a target framework of net45

from querybuilder.

ceastwood avatar ceastwood commented on July 19, 2024 1

@eyedia

Are you using the nuget package that is available? If so, that package states that it only supports netstandard1.3 as shown here (under dependencies)

Work is being done to update the build tooling for this project and when those changes are merged there should be a net45 nuget package available then.

from querybuilder.

ahmad-moussawi avatar ahmad-moussawi commented on July 19, 2024

@vickyRathee yes currently it is supported on netcoreapp1.0, a new release will be published soon targeting net45

from querybuilder.

ahmad-moussawi avatar ahmad-moussawi commented on July 19, 2024

My current focus is to support the netstandard 2.0, I appreciate if anyone could help on this.

from querybuilder.

kwaclaw avatar kwaclaw commented on July 19, 2024

Your library already works with netstandard2.0 projects.
But you could add net45 to the targetframeworks. I had to make these changes in the project file:

    <TargetFrameworks>netstandard1.3;net45</TargetFrameworks>

and had to add

  <ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
    <Reference Include="System" />
  </ItemGroup>

then it builds OK for me.

from querybuilder.

ceastwood avatar ceastwood commented on July 19, 2024

@ahmad-moussawi
Submitted PR for net45 (net452 for tests due to xunit)

from querybuilder.

SamarRizvi avatar SamarRizvi commented on July 19, 2024

@ahmad-moussawi
Since you have merged PR of @ceastwood , can you make a new release for net45

from querybuilder.

ahmad-moussawi avatar ahmad-moussawi commented on July 19, 2024

@SamarRizvi currently I don't have the needed env to test it for net45 since I am using a mac device, what actually needed is to close this issue:

  • Make sure that the tests passes on this environment
  • Configure AppVeyor to build the nuget packages after pushing a valid commit on the master branch
  • Make sure that this new release will not affect netcore projects

I think that @ceastwood is the best one for now to deal with this,
@ceastwood can you help in this ?

from querybuilder.

ceastwood avatar ceastwood commented on July 19, 2024

@ahmad-moussawi

I'm not at my dev machine right now but I do have travis-ci and appveyor ready for this repo, I can complete the tests--

This change won't affect other projects if everything passes, but the PR I have for renaming will. Let me know what you would like and I can complete.

from querybuilder.

ahmad-moussawi avatar ahmad-moussawi commented on July 19, 2024

@ceastwood many thanks, mm to support net45 we have to automate the build for windows, I will check how we can do it with AppVeyor, and hope we may find someone who have better knowledge than me :)

from querybuilder.

ceastwood avatar ceastwood commented on July 19, 2024

@ahmad-moussawi

The appveyor image in use for this repo is hosted on Windows Server 2016;
I've created a new branch update-build-scripts on my fork of the repo and started to complete the tasks. I prefer to use a slightly different (but msbuild native) way of handling semver so that change is there too.

The changes I have pushed up to now in that branch builds and packages everything fine. I will create a matching build/pack shell scripts for you since you mentioned your on mac before I submit the PR.

from querybuilder.

eyedia avatar eyedia commented on July 19, 2024

I have net45 solution, not facing what @vickyRathee had faced, but getting this:

Additional information: Could not load file or assembly 'System.Reflection.TypeExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

compiler.Compile(fastCarsQuery).Sql

from querybuilder.

eyedia avatar eyedia commented on July 19, 2024

Thanks @ceastwood , I missed that. Yes, it worked.
Wow! it installed 285MB packages, we definitely need net45 nuget package.

I also wanted to know how can I contribute, I have a sample database with various types of joins(relationship). I can provide queries/scenarios,/troubleshoot. let me copy @ahmad-moussawi here.

from querybuilder.

ahmad-moussawi avatar ahmad-moussawi commented on July 19, 2024

@ceastwood yes sure, I tried to mimic Dapper build script build.ps1 but I've failed :s, I can add you as a member in AppVeyor if needed, I can help also in setting the shell script form my side

from querybuilder.

ahmad-moussawi avatar ahmad-moussawi commented on July 19, 2024

@eyedia your suggestions and contributions are always welcomed, currently as @ceastwood mentioned we are focusing on targeting the 45 framework,
You can check https://github.com/sqlkata/querybuilder/projects/1 for our backlog

from querybuilder.

ceastwood avatar ceastwood commented on July 19, 2024

@ahmad-moussawi I have no problem with the shell script, I just have been caught up with work. But I think appveyor will auto build when we commit to master; so the only way I can push things is with write access to this repo or with you merging the PR.

from querybuilder.

ceastwood avatar ceastwood commented on July 19, 2024

@ahmad-moussawi I should have the build tooling update & PR done very soon, and I also have the rename PR I will resubmit after the first merge

from querybuilder.

ahmad-moussawi avatar ahmad-moussawi commented on July 19, 2024

Ok waiting the awesomeness 👍

from querybuilder.

ceastwood avatar ceastwood commented on July 19, 2024

@ahmad-moussawi Sorry, I took a little but of a break since I had to travel, but I should finish up by tomorrow. Thanks

from querybuilder.

eyedia avatar eyedia commented on July 19, 2024

Nice

from querybuilder.

SamarRizvi avatar SamarRizvi commented on July 19, 2024

@ceastwood Thanks a lot.

from querybuilder.

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.