You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2024. It is now read-only.
Trying out the basic use case, when i refer any newtonsoft json objects. I am getting
**
Exception during execution: System.AggregateException: One or more errors occurred. (One or more errors occurred. (Exception has been thrown by the target of an invocation.)) (Exception has been thrown by the target of an invocation.) ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException: One or more compilation failures occurred:
**
error CS1705: Assembly 'Contentful.Wyam' with identity 'Contentful.Wyam, Version=0.7.0.0, Culture=neutral, PublicKeyToken=null' uses 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' which has a higher version than referenced assembly 'Newtonsoft.Json' with identity 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
Tried all versions of newtonsoft and binding redirects
ContentModel
Short Text: Body, Title, Slug
Media Many Files: Images
Trying out the basic use case, when i refer any newtonsoft json objects. I am getting
**
**
error CS1705: Assembly 'Contentful.Wyam' with identity 'Contentful.Wyam, Version=0.7.0.0, Culture=neutral, PublicKeyToken=null' uses 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' which has a higher version than referenced assembly 'Newtonsoft.Json' with identity 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
Tried all versions of newtonsoft and binding redirects
ContentModel
Short Text: Body, Title, Slug
Media Many Files: Images
My Config
// Body code
Pipelines.Add("Contentful",
Contentful("api delivery key", "space key")
.WithContentField("body")
.WithContentType("blogPost"),
Markdown(),
Excerpt()
.WithOuterHtml(false),
Meta("Body", @doc.Content),
Trace(@doc.Content),
Trace(@doc["slug"]),
Merge(ReadFiles("post.cshtml")),
Razor(),
WriteFiles($"{@doc["slug"]}.html")
The text was updated successfully, but these errors were encountered: