-
Notifications
You must be signed in to change notification settings - Fork 67
Unable to build using Newtonsoft.Json 12.0.1 #330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same for me, and if I reference Newtonsoft.Json 11.0.2 I get project reference issues with Jetbrains Rider/F#, see JetBrains/resharper-fsharp#61 |
Same issue here. When referencing 12.0.2 I get two errors. One is a FileLoadException about Newtonsoft.Json which can not be found. The second one is about Metadata generation failed. When I remove 12.0.2 it's ok but I need 12.0.2 because our own package uses >=12.0.2. Worked perfectly until today. Note: I have updated VS2019 to the latest version last friday. 'Fixed' it because of this comment |
Have you read the FAQ in the README in the root of this repo? The strict version match is not there by accident. |
@AtOMiCNebula - I have read the FAQ in the README. I am not using JObject so I don't need to stick to the same version as the runtime uses. The README says I can set the version I want to use in the project directly as does the build error I get: However, when I try to do that I get the following error and the change rolls back: Any idea how can I resolve this issue? |
@simonvane Check the link I mentioned previously. Do you have any using to NewtonSoft in a file within your function app project? That caused the issue on my side. |
Thanks @DeluxZ . I don't have |
@simonvane did you ever resolve this? Running into the same thing and already checked the linked thread. |
@DigitalMystery I am now referencing the following in my function apps: Solution a:
Solution b:
I have lost track of what I did to resolve it because I have encountered so many similar issues in recent months. My two suggestions are:
|
seems like this issue could be closed |
Getting the same error as in this comment: here. Since this was posted after the issue was closed, I figured I'd continue the discussion here
Function SDK: 1.0.30-beta1
Newtonsoft.Json: 12.0.1
I'm able to restore the packages after #323 but when I build the project I'm getting the same error as above.
The text was updated successfully, but these errors were encountered: