Skip to content
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

Temporary workaround for Newtonsoft.Json issues with AssemblyLoadContext #5082

Merged
merged 1 commit into from
Apr 15, 2016

Conversation

natemcmaster
Copy link
Contributor

This is to unblock other teams.

Temporary workaround for https://github.com/dotnet/cli/issues/2514.

We may need to change dotnet-ef's execution strategy to permanently fix version issues with using AssemblyLoadContext from a tool. Until that lands, we can fix most issues by just pulling higher version of Newtonsoft.Json.

@@ -13,6 +14,8 @@ public class TestContext : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder options)
{
var o = new object();
JsonConvert.SerializeObject(o);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would create an issue to track fixing this, then add a TODO comment here referencing that issue, then :shipit:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already tracking as a part of #3925

@NTaylorMullen
Copy link
Contributor

:shipit:

@natemcmaster natemcmaster merged commit 3842bb2 into release Apr 15, 2016
@natemcmaster natemcmaster deleted the namc/json-net branch April 15, 2016 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants