Coder Social home page Coder Social logo

.NET 4.0 Support about njsonschema HOT 11 CLOSED

ricosuter avatar ricosuter commented on July 16, 2024
.NET 4.0 Support

from njsonschema.

Comments (11)

RicoSuter avatar RicoSuter commented on July 16, 2024

The PCL 259 doesnt work, right?

from njsonschema.

slow-loris avatar slow-loris commented on July 16, 2024

No. If I want to install the nuget package, this error occurs:

PM> Install-Package NJsonSchema
Attempting to resolve dependency 'Newtonsoft.Json (≥ 8.0.3)'.
Installing 'NJsonSchema 2.48.6012.40848'.
Successfully installed 'NJsonSchema 2.48.6012.40848'.
Adding 'NJsonSchema 2.48.6012.40848' to json_test.
Uninstalling 'NJsonSchema 2.48.6012.40848'.
Successfully uninstalled 'NJsonSchema 2.48.6012.40848'.
Install failed. Rolling back...
Install-Package : Could not install package 'NJsonSchema 2.48.6012.40848'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', but the package d
oes not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
At line:1 char:16
+ Install-Package <<<<  NJsonSchema
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
 

from njsonschema.

RicoSuter avatar RicoSuter commented on July 16, 2024

I have to check whether it's possible to implement a .net 4 supporting pcl...

from njsonschema.

RicoSuter avatar RicoSuter commented on July 16, 2024

You only need the core lib?

from njsonschema.

slow-loris avatar slow-loris commented on July 16, 2024

Yes the core lib would be enough for me.

from njsonschema.

RicoSuter avatar RicoSuter commented on July 16, 2024

Its more complicated than i thought... some important classes are missing in the .net 4 pcl profile...

from njsonschema.

RicoSuter avatar RicoSuter commented on July 16, 2024

First working version: https://github.com/NJsonSchema/NJsonSchema/tree/Net4Support

Please clone and build project and test it within your solution

from njsonschema.

RicoSuter avatar RicoSuter commented on July 16, 2024

Do you still need this? Or did you find an alternative? The .net 4 project is called NJsonSchema.Net4

from njsonschema.

RicoSuter avatar RicoSuter commented on July 16, 2024

Added .NET 4 support in v2.64

from njsonschema.

RicoSuter avatar RicoSuter commented on July 16, 2024

Needs a different package => soon.

from njsonschema.

RicoSuter avatar RicoSuter commented on July 16, 2024

Fixed in v4.0

from njsonschema.

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.