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

Using JSON.NET in EFCore.Proxies.Tests targeting net461 can fail #13359

Closed
ajcvickers opened this issue Sep 18, 2018 · 3 comments
Closed

Using JSON.NET in EFCore.Proxies.Tests targeting net461 can fail #13359

ajcvickers opened this issue Sep 18, 2018 · 3 comments
Labels
area-test closed-out-of-scope This is not something that will be fixed/implemented and the issue is closed. type-bug

Comments

@ajcvickers
Copy link
Contributor

Using JSON.NET in EFCore.Proxies.Tests results in error on some machines when targeting net461 and running full build from the command line:

C:\aspnet\EntityFrameworkCore>build
Using KoreBuild 2.2.0-preview1-20180911.1
Adding C:\Users\avickers\.dotnet\x64 to PATH
.NET Core SDK 2.1.400 is already installed. Skipping installation.
>>> dotnet.exe msbuild @C:\aspnet\EntityFrameworkCore\artifacts\logs\msbuild.rsp @C:\aspnet\EntityFrameworkCore\artifacts\logs\msbuild.logger.rsp
Microsoft (R) Build Engine version 15.8.166+gd4e8d81a88 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.Abstractions\EFCore.Abstractions.csproj...
  Restoring packages for C:\aspnet\EntityFrameworkCore\samples\OracleProvider\test\OracleProvider.FunctionalTests\OracleProvider.FunctionalTests.csproj...
  Restoring packages for C:\aspnet\EntityFrameworkCore\samples\OracleProvider\src\OracleProvider\OracleProvider.csproj...
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\dotnet-ef\dotnet-ef.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\samples\OracleProvider\test\OracleProvider.FunctionalTests\obj\OracleProvider.FunctionalTests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\dotnet-ef\obj\dotnet-ef.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Abstractions\obj\EFCore.Abstractions.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\samples\OracleProvider\src\OracleProvider\obj\OracleProvider.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\dotnet-ef\obj\dotnet-ef.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\samples\OracleProvider\src\OracleProvider\obj\OracleProvider.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\samples\OracleProvider\test\OracleProvider.FunctionalTests\obj\OracleProvider.FunctionalTests.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Abstractions\obj\EFCore.Abstractions.csproj.nuget.g.targets.
  Restore completed in 272.93 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.Abstractions\EFCore.Abstractions.csproj.
  Restore completed in 272.93 ms for C:\aspnet\EntityFrameworkCore\samples\OracleProvider\src\OracleProvider\OracleProvider.csproj.
  Restore completed in 272.93 ms for C:\aspnet\EntityFrameworkCore\src\dotnet-ef\dotnet-ef.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.Analyzers\EFCore.Analyzers.csproj...
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.Cosmos.Sql\EFCore.Cosmos.Sql.csproj...
  Restore completed in 272.93 ms for C:\aspnet\EntityFrameworkCore\samples\OracleProvider\test\OracleProvider.FunctionalTests\OracleProvider.FunctionalTests.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.InMemory\EFCore.InMemory.csproj...
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.Design\EFCore.Design.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.InMemory\obj\EFCore.InMemory.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.InMemory\obj\EFCore.InMemory.csproj.nuget.g.targets.
  Restore completed in 303.21 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.InMemory\EFCore.InMemory.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.Proxies\EFCore.Proxies.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Design\obj\EFCore.Design.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Design\obj\EFCore.Design.csproj.nuget.g.targets.
  Restore completed in 389.17 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.Design\EFCore.Design.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.Relational.Specification.Tests\EFCore.Relational.Specification.Tests.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Cosmos.Sql\obj\EFCore.Cosmos.Sql.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Cosmos.Sql\obj\EFCore.Cosmos.Sql.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Proxies\obj\EFCore.Proxies.csproj.nuget.g.props.
  Restore completed in 603.63 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.Cosmos.Sql\EFCore.Cosmos.Sql.csproj.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Proxies\obj\EFCore.Proxies.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Analyzers\obj\EFCore.Analyzers.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Analyzers\obj\EFCore.Analyzers.csproj.nuget.g.targets.
  Restore completed in 283.97 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.Proxies\EFCore.Proxies.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.Relational\EFCore.Relational.csproj...
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.Specification.Tests\EFCore.Specification.Tests.csproj...
  Restore completed in 681.71 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.Analyzers\EFCore.Analyzers.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite.Core\EFCore.Sqlite.Core.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Relational\obj\EFCore.Relational.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Relational\obj\EFCore.Relational.csproj.nuget.g.targets.
  Restore completed in 73.77 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.Relational\EFCore.Relational.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite.NTS\EFCore.Sqlite.NTS.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite.Core\obj\EFCore.Sqlite.Core.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite.Core\obj\EFCore.Sqlite.Core.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Relational.Specification.Tests\obj\EFCore.Relational.Specification.Tests.csproj.nuget.g.props.
  Restore completed in 139.54 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite.Core\EFCore.Sqlite.Core.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite\EFCore.Sqlite.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Relational.Specification.Tests\obj\EFCore.Relational.Specification.Tests.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite.NTS\obj\EFCore.Sqlite.NTS.csproj.nuget.g.props.
  Restore completed in 440.48 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.Relational.Specification.Tests\EFCore.Relational.Specification.Tests.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.SqlServer.NTS\EFCore.SqlServer.NTS.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite.NTS\obj\EFCore.Sqlite.NTS.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Specification.Tests\obj\EFCore.Specification.Tests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Specification.Tests\obj\EFCore.Specification.Tests.csproj.nuget.g.targets.
  Restore completed in 160.36 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite.NTS\EFCore.Sqlite.NTS.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.SqlServer\EFCore.SqlServer.csproj...
  Restore completed in 298.75 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.Specification.Tests\EFCore.Specification.Tests.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore.Tools\EFCore.Tools.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Tools\obj\EFCore.Tools.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Tools\obj\EFCore.Tools.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.SqlServer\obj\EFCore.SqlServer.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.SqlServer\obj\EFCore.SqlServer.csproj.nuget.g.targets.
  Restore completed in 17.27 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.Tools\EFCore.Tools.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\EFCore\EFCore.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.SqlServer.NTS\obj\EFCore.SqlServer.NTS.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.SqlServer.NTS\obj\EFCore.SqlServer.NTS.csproj.nuget.g.targets.
  Restore completed in 105.57 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.SqlServer\EFCore.SqlServer.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\src\ef\ef.csproj...
  Restore completed in 176.28 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.SqlServer.NTS\EFCore.SqlServer.NTS.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\dotnet-ef.Tests\dotnet-ef.Tests.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite\obj\EFCore.Sqlite.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore\obj\EFCore.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite\obj\EFCore.Sqlite.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\EFCore\obj\EFCore.csproj.nuget.g.targets.
  Restore completed in 306.9 ms for C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite\EFCore.Sqlite.csproj.
  Restore completed in 87.99 ms for C:\aspnet\EntityFrameworkCore\src\EFCore\EFCore.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\ef.Tests\ef.Tests.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\ef\obj\ef.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\src\ef\obj\ef.csproj.nuget.g.targets.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.Analyzers.Tests\EFCore.Analyzers.Test.csproj...
  Restore completed in 88.64 ms for C:\aspnet\EntityFrameworkCore\src\ef\ef.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.Cosmos.Sql.FunctionalTests\EFCore.Cosmos.Sql.FunctionalTests.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Analyzers.Tests\obj\EFCore.Analyzers.Test.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\ef.Tests\obj\ef.Tests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\ef.Tests\obj\ef.Tests.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Analyzers.Tests\obj\EFCore.Analyzers.Test.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Cosmos.Sql.FunctionalTests\obj\EFCore.Cosmos.Sql.FunctionalTests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Cosmos.Sql.FunctionalTests\obj\EFCore.Cosmos.Sql.FunctionalTests.csproj.nuget.g.targets.
  Restore completed in 113.06 ms for C:\aspnet\EntityFrameworkCore\test\ef.Tests\ef.Tests.csproj.
  Restore completed in 96.96 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.Analyzers.Tests\EFCore.Analyzers.Test.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.Cosmos.Sql.Tests\EFCore.Cosmos.Sql.Tests.csproj...
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.CrossStore.FunctionalTests\EFCore.CrossStore.FunctionalTests.csproj...
  Restore completed in 96.9 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.Cosmos.Sql.FunctionalTests\EFCore.Cosmos.Sql.FunctionalTests.csproj.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Cosmos.Sql.Tests\obj\EFCore.Cosmos.Sql.Tests.csproj.nuget.g.props.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.Design.Tests\EFCore.Design.Tests.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Cosmos.Sql.Tests\obj\EFCore.Cosmos.Sql.Tests.csproj.nuget.g.targets.
  Restore completed in 98.75 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.Cosmos.Sql.Tests\EFCore.Cosmos.Sql.Tests.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.InMemory.FunctionalTests\EFCore.InMemory.FunctionalTests.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.CrossStore.FunctionalTests\obj\EFCore.CrossStore.FunctionalTests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.CrossStore.FunctionalTests\obj\EFCore.CrossStore.FunctionalTests.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.InMemory.FunctionalTests\obj\EFCore.InMemory.FunctionalTests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.InMemory.FunctionalTests\obj\EFCore.InMemory.FunctionalTests.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\dotnet-ef.Tests\obj\dotnet-ef.Tests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Design.Tests\obj\EFCore.Design.Tests.csproj.nuget.g.props.
  Restore completed in 25.83 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.InMemory.FunctionalTests\EFCore.InMemory.FunctionalTests.csproj.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\dotnet-ef.Tests\obj\dotnet-ef.Tests.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Design.Tests\obj\EFCore.Design.Tests.csproj.nuget.g.targets.
  Restore completed in 148.62 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.CrossStore.FunctionalTests\EFCore.CrossStore.FunctionalTests.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.InMemory.Tests\EFCore.InMemory.Tests.csproj...
  Restore completed in 101.78 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.Design.Tests\EFCore.Design.Tests.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.Proxies.Tests\EFCore.Proxies.Tests.csproj...
  Restore completed in 432.53 ms for C:\aspnet\EntityFrameworkCore\test\dotnet-ef.Tests\dotnet-ef.Tests.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.Relational.Tests\EFCore.Relational.Tests.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.InMemory.Tests\obj\EFCore.InMemory.Tests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.InMemory.Tests\obj\EFCore.InMemory.Tests.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Proxies.Tests\obj\EFCore.Proxies.Tests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Relational.Tests\obj\EFCore.Relational.Tests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Proxies.Tests\obj\EFCore.Proxies.Tests.csproj.nuget.g.targets.
  Restore completed in 32.76 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.InMemory.Tests\EFCore.InMemory.Tests.csproj.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Relational.Tests\obj\EFCore.Relational.Tests.csproj.nuget.g.targets.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.Sqlite.FunctionalTests\EFCore.Sqlite.FunctionalTests.csproj...
  Restore completed in 41.46 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.Proxies.Tests\EFCore.Proxies.Tests.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.Sqlite.Tests\EFCore.Sqlite.Tests.csproj...
  Restore completed in 38.81 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.Relational.Tests\EFCore.Relational.Tests.csproj.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.SqlServer.FunctionalTests\EFCore.SqlServer.FunctionalTests.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.SqlServer.FunctionalTests\obj\EFCore.SqlServer.FunctionalTests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.SqlServer.FunctionalTests\obj\EFCore.SqlServer.FunctionalTests.csproj.nuget.g.targets.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.SqlServer.Tests\EFCore.SqlServer.Tests.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Sqlite.FunctionalTests\obj\EFCore.Sqlite.FunctionalTests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Sqlite.FunctionalTests\obj\EFCore.Sqlite.FunctionalTests.csproj.nuget.g.targets.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Sqlite.Tests\obj\EFCore.Sqlite.Tests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Sqlite.Tests\obj\EFCore.Sqlite.Tests.csproj.nuget.g.targets.
  Restore completed in 48.8 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.SqlServer.FunctionalTests\EFCore.SqlServer.FunctionalTests.csproj.
  Restore completed in 105.74 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.Sqlite.FunctionalTests\EFCore.Sqlite.FunctionalTests.csproj.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.SqlServer.Tests\obj\EFCore.SqlServer.Tests.csproj.nuget.g.props.
  Restoring packages for C:\aspnet\EntityFrameworkCore\test\EFCore.Tests\EFCore.Tests.csproj...
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.SqlServer.Tests\obj\EFCore.SqlServer.Tests.csproj.nuget.g.targets.
  Restore completed in 105.7 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.Sqlite.Tests\EFCore.Sqlite.Tests.csproj.
  Restore completed in 54.19 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.SqlServer.Tests\EFCore.SqlServer.Tests.csproj.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Tests\obj\EFCore.Tests.csproj.nuget.g.props.
  Generating MSBuild file C:\aspnet\EntityFrameworkCore\test\EFCore.Tests\obj\EFCore.Tests.csproj.nuget.g.targets.
  Restore completed in 40.99 ms for C:\aspnet\EntityFrameworkCore\test\EFCore.Tests\EFCore.Tests.csproj.
  ef -> C:\aspnet\EntityFrameworkCore\src\ef\bin\Debug\net461\ef.exe
  ef -> C:\aspnet\EntityFrameworkCore\src\ef\bin\Debug\netcoreapp2.0\ef.dll
  ef -> C:\aspnet\EntityFrameworkCore\src\ef\bin\x86\Debug\net461\ef.exe
  EFCore.Abstractions -> C:\aspnet\EntityFrameworkCore\src\EFCore.Abstractions\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.Abstractions.dll
  EFCore.Analyzers -> C:\aspnet\EntityFrameworkCore\src\EFCore.Analyzers\bin\Debug\netstandard1.3\Microsoft.EntityFrameworkCore.Analyzers.dll
  dotnet-ef -> C:\aspnet\EntityFrameworkCore\src\dotnet-ef\bin\Debug\netcoreapp2.2\dotnet-ef.dll
  EFCore -> C:\aspnet\EntityFrameworkCore\src\EFCore\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.dll
  EFCore.Proxies -> C:\aspnet\EntityFrameworkCore\src\EFCore.Proxies\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.Proxies.dll
  dotnet-ef.Tests -> C:\aspnet\EntityFrameworkCore\test\dotnet-ef.Tests\bin\Debug\netcoreapp2.2\dotnet-ef.Tests.dll
  EFCore.Relational -> C:\aspnet\EntityFrameworkCore\src\EFCore.Relational\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.Relational.dll
  OracleProvider -> C:\aspnet\EntityFrameworkCore\samples\OracleProvider\src\OracleProvider\bin\Debug\net461\Microsoft.EntityFrameworkCore.Oracle.dll
  EFCore.SqlServer -> C:\aspnet\EntityFrameworkCore\src\EFCore.SqlServer\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.SqlServer.dll
  EFCore.Analyzers.Test -> C:\aspnet\EntityFrameworkCore\test\EFCore.Analyzers.Tests\bin\Debug\net461\Microsoft.EntityFrameworkCore.Analyzers.Tests.dll
  EFCore.SqlServer.NTS -> C:\aspnet\EntityFrameworkCore\src\EFCore.SqlServer.NTS\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite.dll
  EFCore.Cosmos.Sql -> C:\aspnet\EntityFrameworkCore\src\EFCore.Cosmos.Sql\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.Cosmos.Sql.dll
  EFCore.InMemory -> C:\aspnet\EntityFrameworkCore\src\EFCore.InMemory\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.InMemory.dll
  EFCore.Specification.Tests -> C:\aspnet\EntityFrameworkCore\src\EFCore.Specification.Tests\bin\Debug\netcoreapp2.2\Microsoft.EntityFrameworkCore.Specification.Tests.dll
  EFCore.Sqlite.Core -> C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite.Core\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.Sqlite.dll
  EFCore.Design -> C:\aspnet\EntityFrameworkCore\src\EFCore.Design\bin\Debug\net461\Microsoft.EntityFrameworkCore.Design.dll
  EFCore.Design -> C:\aspnet\EntityFrameworkCore\src\EFCore.Design\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.Design.dll
  EFCore.Relational.Specification.Tests -> C:\aspnet\EntityFrameworkCore\src\EFCore.Relational.Specification.Tests\bin\Debug\netcoreapp2.2\Microsoft.EntityFrameworkCore.Relational.Specification.Tests.dll
  EFCore.Sqlite.NTS -> C:\aspnet\EntityFrameworkCore\src\EFCore.Sqlite.NTS\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite.dll
  EFCore.Specification.Tests -> C:\aspnet\EntityFrameworkCore\src\EFCore.Specification.Tests\bin\Debug\netcoreapp2.0\Microsoft.EntityFrameworkCore.Specification.Tests.dll
  EFCore.Specification.Tests -> C:\aspnet\EntityFrameworkCore\src\EFCore.Specification.Tests\bin\Debug\net461\Microsoft.EntityFrameworkCore.Specification.Tests.dll
  EFCore.Relational.Specification.Tests -> C:\aspnet\EntityFrameworkCore\src\EFCore.Relational.Specification.Tests\bin\Debug\netcoreapp2.0\Microsoft.EntityFrameworkCore.Relational.Specification.Tests.dll
  ef.Tests -> C:\aspnet\EntityFrameworkCore\test\ef.Tests\bin\Debug\net461\ef.Tests.dll
  EFCore.InMemory.FunctionalTests -> C:\aspnet\EntityFrameworkCore\test\EFCore.InMemory.FunctionalTests\bin\Debug\net461\Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.dll
  EFCore.Relational.Specification.Tests -> C:\aspnet\EntityFrameworkCore\src\EFCore.Relational.Specification.Tests\bin\Debug\net461\Microsoft.EntityFrameworkCore.Relational.Specification.Tests.dll
  EFCore.Cosmos.Sql.FunctionalTests -> C:\aspnet\EntityFrameworkCore\test\EFCore.Cosmos.Sql.FunctionalTests\bin\Debug\net461\Microsoft.EntityFrameworkCore.Cosmos.Sql.FunctionalTests.dll
  EFCore.SqlServer.FunctionalTests -> C:\aspnet\EntityFrameworkCore\test\EFCore.SqlServer.FunctionalTests\bin\Debug\net461\Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.dll
  EFCore.Sqlite.FunctionalTests -> C:\aspnet\EntityFrameworkCore\test\EFCore.Sqlite.FunctionalTests\bin\Debug\net461\Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.dll
  OracleProvider.FunctionalTests -> C:\aspnet\EntityFrameworkCore\samples\OracleProvider\test\OracleProvider.FunctionalTests\bin\Debug\net461\Microsoft.EntityFrameworkCore.Oracle.FunctionalTests.dll
  EFCore.CrossStore.FunctionalTests -> C:\aspnet\EntityFrameworkCore\test\EFCore.CrossStore.FunctionalTests\bin\Debug\net461\Microsoft.EntityFrameworkCore.CrossStore.FunctionalTests.dll
  EFCore.Tests -> C:\aspnet\EntityFrameworkCore\test\EFCore.Tests\bin\Debug\net461\Microsoft.EntityFrameworkCore.Tests.dll
  EFCore.InMemory.Tests -> C:\aspnet\EntityFrameworkCore\test\EFCore.InMemory.Tests\bin\Debug\net461\Microsoft.EntityFrameworkCore.InMemory.Tests.dll
  EFCore.Proxies.Tests -> C:\aspnet\EntityFrameworkCore\test\EFCore.Proxies.Tests\bin\Debug\net461\Microsoft.EntityFrameworkCore.Proxies.Tests.dll
  EFCore.Relational.Tests -> C:\aspnet\EntityFrameworkCore\test\EFCore.Relational.Tests\bin\Debug\net461\Microsoft.EntityFrameworkCore.Relational.Tests.dll
  EFCore.Cosmos.Sql.Tests -> C:\aspnet\EntityFrameworkCore\test\EFCore.Cosmos.Sql.Tests\bin\Debug\net461\Microsoft.EntityFrameworkCore.Cosmos.Sql.Tests.dll
  EFCore.Sqlite.Tests -> C:\aspnet\EntityFrameworkCore\test\EFCore.Sqlite.Tests\bin\Debug\net461\Microsoft.EntityFrameworkCore.Sqlite.Tests.dll
  EFCore.Design.Tests -> C:\aspnet\EntityFrameworkCore\test\EFCore.Design.Tests\bin\Debug\net461\Microsoft.EntityFrameworkCore.Design.Tests.dll
  EFCore.SqlServer.Tests -> C:\aspnet\EntityFrameworkCore\test\EFCore.SqlServer.Tests\bin\Debug\net461\Microsoft.EntityFrameworkCore.SqlServer.Tests.dll
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Abstractions.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Abstractions.2.2.0-preview3-t000.symbols.nupkg'.
  EFCore.Analyzers -> C:\aspnet\EntityFrameworkCore\src\EFCore.Analyzers\bin\Debug\netstandard1.3\Microsoft.EntityFrameworkCore.Analyzers.dll
  dotnet-ef -> C:\aspnet\EntityFrameworkCore\src\dotnet-ef\bin\Debug\netcoreapp2.2\publish\
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Analyzers.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Analyzers.2.2.0-preview3-t000.symbols.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Cosmos.Sql.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Cosmos.Sql.2.2.0-preview3-t000.symbols.nupkg'.
  ef -> C:\aspnet\EntityFrameworkCore\src\ef\bin\Debug\netcoreapp2.0\ef.dll
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Proxies.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Proxies.2.2.0-preview3-t000.symbols.nupkg'.
  dotnet-ef -> C:\aspnet\EntityFrameworkCore\src\dotnet-ef\bin\Debug\netcoreapp2.2\dotnet-ef.dll
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\dotnet-ef.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\dotnet-ef.2.2.0-preview3-t000.symbols.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.InMemory.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.InMemory.2.2.0-preview3-t000.symbols.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Specification.Tests.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Specification.Tests.2.2.0-preview3-t000.symbols.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Design.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Design.2.2.0-preview3-t000.symbols.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite.2.2.0-preview3-t000.symbols.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Relational.Specification.Tests.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Relational.Specification.Tests.2.2.0-preview3-t000.symbols.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite.2.2.0-preview3-t000.symbols.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Sqlite.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Relational.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Sqlite.Core.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Sqlite.Core.2.2.0-preview3-t000.symbols.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Relational.2.2.0-preview3-t000.symbols.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Tools.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.Tools.2.2.0-preview3-t000.symbols.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.SqlServer.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.SqlServer.2.2.0-preview3-t000.symbols.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.2.2.0-preview3-t000.nupkg'.
  Successfully created package 'C:\aspnet\EntityFrameworkCore\artifacts\build\Microsoft.EntityFrameworkCore.2.2.0-preview3-t000.symbols.nupkg'.

  Test plan:
    - UnitTests/netcoreapp2.2
      - dotnet-ef.Tests
    - UnitTests/net461
      - ef.Tests
      - Microsoft.EntityFrameworkCore.Analyzers.Tests
      - Microsoft.EntityFrameworkCore.Cosmos.Sql.Tests
      - Microsoft.EntityFrameworkCore.Design.Tests
      - Microsoft.EntityFrameworkCore.InMemory.Tests
      - Microsoft.EntityFrameworkCore.Proxies.Tests
      - Microsoft.EntityFrameworkCore.Relational.Tests
      - Microsoft.EntityFrameworkCore.Sqlite.Tests
      - Microsoft.EntityFrameworkCore.SqlServer.Tests
      - Microsoft.EntityFrameworkCore.Tests
      - Microsoft.EntityFrameworkCore.InMemory.FunctionalTests
      - Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests
    - Cosmos.Sql.FunctionalTests/net461
      - Microsoft.EntityFrameworkCore.Cosmos.Sql.FunctionalTests
    - CrossStore.FunctionalTests/net461
      - Microsoft.EntityFrameworkCore.CrossStore.FunctionalTests
    - SqlServer.FunctionalTests/net461
      - Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests

  Starting test group: UnitTests/netcoreapp2.2
  Microsoft (R) Test Execution Command Line Tool Version 15.8.0
  Copyright (c) Microsoft Corporation.  All rights reserved.

  Starting test execution, please wait...

  Total tests: 3. Passed: 3. Failed: 0. Skipped: 0.
  Test Run Successful.
  Test execution time: 2.3212 Seconds

  Starting test group: UnitTests/net461
  Microsoft (R) Test Execution Command Line Tool Version 15.8.0
  Copyright (c) Microsoft Corporation.  All rights reserved.

  Starting test execution, please wait...
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  Entity Framework Core 2.2.0-preview3-t000 initialized 'SimpleContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None
  [xUnit.net 00:00:05.21]     Microsoft.EntityFrameworkCore.LazyLoadingProxyTests.Serialization_is_disabled_for_ILazyLoader_property [FAIL]
  Failed   Microsoft.EntityFrameworkCore.LazyLoadingProxyTests.Serialization_is_disabled_for_ILazyLoader_property
  Error Message:
   System.IO.FileNotFoundException : Could not load file or assembly 'Microsoft.EntityFrameworkCore.Proxies.Tests, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
  Stack Trace:
     at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
     at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)
     at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
     at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
     at System.RuntimeType.GetCustomAttributes(Boolean inherit)
     at Newtonsoft.Json.Utilities.ReflectionUtils.GetAttributes(Object attributeProvider, Type attributeType, Boolean inherit)
     at Newtonsoft.Json.Serialization.JsonTypeReflector.GetAssociateMetadataTypeFromAttribute(Type type)
     at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
     at Newtonsoft.Json.Serialization.JsonTypeReflector.GetAttribute[T](Type type)
     at Newtonsoft.Json.Serialization.JsonTypeReflector.GetAttribute[T](Object provider)
     at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
     at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract(Type objectType)
     at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
     at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract(Type type)
     at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)
     at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)
     at Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer)
     at Newtonsoft.Json.JsonConvert.SerializeObject(Object value)
     at Microsoft.EntityFrameworkCore.LazyLoadingProxyTests.Serialization_is_disabled_for_ILazyLoader_property() in C:\aspnet\EntityFrameworkCore\test\EFCore.Proxies.Tests\LazyLoadingProxyTests.cs:line 27
Attempting to cancel the build...
C:\Users\avickers\.dotnet\buildtools\korebuild\2.2.0-preview1-20180911.1\modules\vstest\module.targets(101,5): warning MSB5021: Terminating the task executable "dotnet" and its child processes because the build was canceled. [C:\Users\avickers\.dotnet\buildtools\korebuild\2.2.0-preview1-20180911.1\KoreBuild.proj]
Terminate batch job (Y/N)?
Build FAILED.

C:\Users\avickers\.dotnet\buildtools\korebuild\2.2.0-preview1-20180911.1\modules\vstest\module.targets(101,5): warning MSB5021: Terminating the task executable "dotnet" and its child processes because the build was canceled. [C:\Users\avickers\.dotnet\buildtools\korebuild\2.2.0-preview1-20180911.1\KoreBuild.proj]
    1 Warning(s)
    0 Error(s)

Time Elapsed 00:02:42.57
@ajcvickers
Copy link
Contributor Author

Test code:

        [Fact]
        public void Serialization_is_disabled_for_ILazyLoader_property()
        {
            using (var context = new NeweyContext(nameof(Serialization_is_disabled_for_ILazyLoader_property)))
            {
                var proxy = context.Set<March82GGtp>().CreateProxy();

                var output = JsonConvert.SerializeObject(proxy);
                Assert.Equal(
                    "{\"Id\":0}",
                    output);
            }
        }

@ajcvickers
Copy link
Contributor Author

@JamesNK Have you seen anything like this before? (I suspect it is related to assembly versions and loading on .NET Framework rather than anything specific to JSON.NET.)

@JamesNK
Copy link
Member

JamesNK commented Sep 18, 2018

I haven't seen this kind of error before.

@ajcvickers ajcvickers self-assigned this Sep 20, 2018
@ajcvickers ajcvickers added this to the 2.2.0 milestone Sep 20, 2018
@ajcvickers ajcvickers modified the milestones: 2.2.0, 3.0.0 Sep 28, 2018
@ajcvickers ajcvickers removed this from the 3.0.0 milestone Jun 27, 2019
@ajcvickers ajcvickers added the closed-out-of-scope This is not something that will be fixed/implemented and the issue is closed. label Mar 10, 2022
@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
@ajcvickers ajcvickers removed their assignment Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-test closed-out-of-scope This is not something that will be fixed/implemented and the issue is closed. type-bug
Projects
None yet
Development

No branches or pull requests

2 participants