Comments (11)
The PCL 259 doesnt work, right?
from njsonschema.
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.
I have to check whether it's possible to implement a .net 4 supporting pcl...
from njsonschema.
You only need the core lib?
from njsonschema.
Yes the core lib would be enough for me.
from njsonschema.
Its more complicated than i thought... some important classes are missing in the .net 4 pcl profile...
from njsonschema.
First working version: https://github.com/NJsonSchema/NJsonSchema/tree/Net4Support
Please clone and build project and test it within your solution
from njsonschema.
Do you still need this? Or did you find an alternative? The .net 4 project is called NJsonSchema.Net4
from njsonschema.
Added .NET 4 support in v2.64
from njsonschema.
Needs a different package => soon.
from njsonschema.
Fixed in v4.0
from njsonschema.
Related Issues (20)
- Using the generic type 'JsonInheritanceConverter<TBase>' requires 1 type argument HOT 2
- NJsonSchema generated code throwing The JSON value could not be converted HOT 1
- Improve base package readme
- AllowAdditionalProperties - not working
- Format "guid" vs "uuid"
- Validation Failures On All JSON Schema Draft Versions
- Private expression-bodied read-only properties should be ignored HOT 1
- Unable to generate document when XmlElement[] is a property of the class
- JsonProperty not working on version 11.0.0 (working on 10.9.0) HOT 1
- Referenced schema could not be loaded when defined in external schema file
- Fixed the bug. "System.InvalidOperationException: Could not resolve the path '#/paths/~1audienceCategories~1%7Ba "
- Annotations on separate lines?
- Polymorphic Schema Generation
- .Net6 to .Net8 upgrade - System.InvalidOperationException: This operation is only valid on generic types. HOT 1
- C# TimeSpan not resolved and generated as a DayJs duration HOT 1
- Property named '-1' generates wrong C# Property name
- Duplicated members
- IEquatable<T> interface
- Method Resolution Conflict in `SystemTextJsonReflectionService`
- INPC: Skip change check (to support partial patch) HOT 1
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 njsonschema.