I fell to the pitfall described in this question and answer: https://stackoverflow.com/a/60661593/1236401
Where some of my code was using System.Text.Json.Serialization.JsonIgnore
instead of Newtonsoft.Json
, probably due to choosing wrong package when ReSharper suggested missing refernces:
Is there a way to disable suggestion of the specific attribute or namespace?
Is there a way to prevent referencing this namespace in general?
That is besides text search in the code files.