From 3293d8c8c8d2f0b57c3d7b2169a4d1b7b8f64715 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Sat, 15 Jun 2024 16:38:11 +0100 Subject: [PATCH] Update EntityFramework to version 6.5 to fix CVE (#200) * Update EntityFramework to version 6.5 to fix CVE * . --- .../LinqKitControversy.Console.csproj | 2 +- .../LinqKit.EntityFramework.csproj | 108 +++++++++--------- src/LinqKit.Net45/App.config | 2 +- src/LinqKit.Net45/LinqKit.Net45.csproj | 22 +++- src/LinqKit.Net45/content/net40/App.config | 12 ++ src/LinqKit.Net45/packages.config | 2 +- src/LinqKit/LinqKit.csproj | 6 +- ...inqKit.EntityFramework.Tests.Net452.csproj | 63 +++++----- 8 files changed, 116 insertions(+), 101 deletions(-) create mode 100644 src/LinqKit.Net45/content/net40/App.config diff --git a/examples/LinqKitControversy.Console/LinqKitControversy.Console.csproj b/examples/LinqKitControversy.Console/LinqKitControversy.Console.csproj index 233f9b9..61fa494 100644 --- a/examples/LinqKitControversy.Console/LinqKitControversy.Console.csproj +++ b/examples/LinqKitControversy.Console/LinqKitControversy.Console.csproj @@ -53,7 +53,7 @@ - 6.3.0 + 6.5.0 2.1.11 diff --git a/src/LinqKit.EntityFramework/LinqKit.EntityFramework.csproj b/src/LinqKit.EntityFramework/LinqKit.EntityFramework.csproj index 946d5a3..be68e93 100644 --- a/src/LinqKit.EntityFramework/LinqKit.EntityFramework.csproj +++ b/src/LinqKit.EntityFramework/LinqKit.EntityFramework.csproj @@ -1,59 +1,55 @@  - - - - 1.2.$(PatchVersion) - LinqKit.EntityFramework contains extensions for LINQ to SQL and Entity Framework. Include(...) and IAsync are supported. - LinqKit for EntityFramework with Include(...) and IAsync support. - Joseph Albahari;Tomas Petricek;Scott Smith;Tuomas Hietanen;Stef Heyenrath - net45;netstandard2.1 - $(DefineConstants);EF - true - LinqKit.EntityFramework - LinqKit.EntityFramework.snk - true - true - LinqKit.EntityFramework - linq;EF;EntityFramework;Entity;Framework - https://github.com/scottksmith95/LINQKit - MIT - git - https://github.com/scottksmith95/LINQKit - false - false - false - - - - $(MSBuildProjectDirectory)=/ - true - - - - - - - - - All - - - All - - - - - - - - - - - - - - - - + + + + 1.2.$(PatchVersion) + LinqKit.EntityFramework contains extensions for LINQ to SQL and Entity Framework. Include(...) and IAsync are supported. + LinqKit for EntityFramework with Include(...) and IAsync support. + Joseph Albahari;Tomas Petricek;Scott Smith;Tuomas Hietanen;Stef Heyenrath + net45;netstandard2.1 + $(DefineConstants);EF + true + LinqKit.EntityFramework + LinqKit.EntityFramework.snk + true + true + LinqKit.EntityFramework + linq;EF;EntityFramework;Entity;Framework + https://github.com/scottksmith95/LINQKit + MIT + git + https://github.com/scottksmith95/LINQKit + false + false + false + + + + $(MSBuildProjectDirectory)=/ + true + + + + + + + + + All + + + All + + + + + + + + + + + + \ No newline at end of file diff --git a/src/LinqKit.Net45/App.config b/src/LinqKit.Net45/App.config index 122031b..cc61a6e 100644 --- a/src/LinqKit.Net45/App.config +++ b/src/LinqKit.Net45/App.config @@ -3,7 +3,7 @@
- + diff --git a/src/LinqKit.Net45/LinqKit.Net45.csproj b/src/LinqKit.Net45/LinqKit.Net45.csproj index 1509eb3..802d8ba 100644 --- a/src/LinqKit.Net45/LinqKit.Net45.csproj +++ b/src/LinqKit.Net45/LinqKit.Net45.csproj @@ -1,5 +1,7 @@  + + Debug AnyCPU @@ -36,6 +38,8 @@ false false true + + true @@ -64,12 +68,10 @@ - ..\..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll - True + ..\..\packages\EntityFramework.6.5.0\lib\net45\EntityFramework.dll - ..\..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.SqlServer.dll - True + ..\..\packages\EntityFramework.6.5.0\lib\net45\EntityFramework.SqlServer.dll ..\..\packages\JetBrains.Annotations.2022.1.0\lib\net20\JetBrains.Annotations.dll @@ -129,6 +131,7 @@ + @@ -151,6 +154,17 @@ + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + +
+ + + + + + + \ No newline at end of file diff --git a/src/LinqKit.Net45/packages.config b/src/LinqKit.Net45/packages.config index 4d510d2..dc53ab5 100644 --- a/src/LinqKit.Net45/packages.config +++ b/src/LinqKit.Net45/packages.config @@ -1,6 +1,6 @@  - + \ No newline at end of file diff --git a/src/LinqKit/LinqKit.csproj b/src/LinqKit/LinqKit.csproj index e585a35..3704ac9 100644 --- a/src/LinqKit/LinqKit.csproj +++ b/src/LinqKit/LinqKit.csproj @@ -38,16 +38,12 @@ All + - - - - - diff --git a/tests/LinqKit.EntityFramework.Tests.Net452/LinqKit.EntityFramework.Tests.Net452.csproj b/tests/LinqKit.EntityFramework.Tests.Net452/LinqKit.EntityFramework.Tests.Net452.csproj index b242c22..ff0a8aa 100644 --- a/tests/LinqKit.EntityFramework.Tests.Net452/LinqKit.EntityFramework.Tests.Net452.csproj +++ b/tests/LinqKit.EntityFramework.Tests.Net452/LinqKit.EntityFramework.Tests.Net452.csproj @@ -1,40 +1,37 @@ - + - - Stef Heyenrath - net452 - LinqKit.Microsoft.EntityFrameworkCore.Tests - LinqKit.Microsoft.EntityFrameworkCore.Tests - true - false - false - false - + + Stef Heyenrath + net452 + LinqKit.Microsoft.EntityFrameworkCore.Tests + LinqKit.Microsoft.EntityFrameworkCore.Tests + true + false + false + false + - - - + + + - - - + + + - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + - - - - - - - + + + \ No newline at end of file