diff --git a/Directory.Build.targets b/Directory.Build.targets index 3020ae882fe..3654d24d03a 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -36,4 +36,15 @@ + + + + <_ProjectReferencesWithVersions + Update="@(ProjectReference)" + Condition="'%(ProjectReference.Identity)' != '' And '%(ProjectReference.PackageVersion)' != ''"> + %(ProjectReference.PackageVersion) + + + + \ No newline at end of file diff --git a/eng/Versions.props b/eng/Versions.props index 1fb510f2014..61329614c83 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -15,6 +15,14 @@ false true + + + $([MSBuild]::Add($([System.Version]::Parse('$(VersionPrefix)').Major), 1)).0.0-0 diff --git a/src/EFCore.Cosmos/EFCore.Cosmos.csproj b/src/EFCore.Cosmos/EFCore.Cosmos.csproj index 6ed6c586518..dbd0cd838e7 100644 --- a/src/EFCore.Cosmos/EFCore.Cosmos.csproj +++ b/src/EFCore.Cosmos/EFCore.Cosmos.csproj @@ -42,8 +42,8 @@ - - + + diff --git a/src/EFCore.Design/EFCore.Design.csproj b/src/EFCore.Design/EFCore.Design.csproj index 981497651ac..bbd1d5a3740 100644 --- a/src/EFCore.Design/EFCore.Design.csproj +++ b/src/EFCore.Design/EFCore.Design.csproj @@ -52,7 +52,7 @@ - + diff --git a/src/EFCore.InMemory/EFCore.InMemory.csproj b/src/EFCore.InMemory/EFCore.InMemory.csproj index 17c05bf18d1..c9b25462e86 100644 --- a/src/EFCore.InMemory/EFCore.InMemory.csproj +++ b/src/EFCore.InMemory/EFCore.InMemory.csproj @@ -40,8 +40,8 @@ - - + + diff --git a/src/EFCore.Proxies/EFCore.Proxies.csproj b/src/EFCore.Proxies/EFCore.Proxies.csproj index 2e52b366daf..509f73e0145 100644 --- a/src/EFCore.Proxies/EFCore.Proxies.csproj +++ b/src/EFCore.Proxies/EFCore.Proxies.csproj @@ -43,8 +43,8 @@ - - + + diff --git a/src/EFCore.Relational/EFCore.Relational.csproj b/src/EFCore.Relational/EFCore.Relational.csproj index 2f0010093e7..8bf55bf51e7 100644 --- a/src/EFCore.Relational/EFCore.Relational.csproj +++ b/src/EFCore.Relational/EFCore.Relational.csproj @@ -45,8 +45,8 @@ - - + + diff --git a/src/EFCore.SqlServer.HierarchyId/EFCore.SqlServer.HierarchyId.csproj b/src/EFCore.SqlServer.HierarchyId/EFCore.SqlServer.HierarchyId.csproj index 24fc80cb15c..69d56785140 100644 --- a/src/EFCore.SqlServer.HierarchyId/EFCore.SqlServer.HierarchyId.csproj +++ b/src/EFCore.SqlServer.HierarchyId/EFCore.SqlServer.HierarchyId.csproj @@ -42,9 +42,9 @@ - - - + + + diff --git a/src/EFCore.SqlServer.NTS/EFCore.SqlServer.NTS.csproj b/src/EFCore.SqlServer.NTS/EFCore.SqlServer.NTS.csproj index 9a775d6e018..5ef1492c5b6 100644 --- a/src/EFCore.SqlServer.NTS/EFCore.SqlServer.NTS.csproj +++ b/src/EFCore.SqlServer.NTS/EFCore.SqlServer.NTS.csproj @@ -51,8 +51,8 @@ - - + + diff --git a/src/EFCore.SqlServer/EFCore.SqlServer.csproj b/src/EFCore.SqlServer/EFCore.SqlServer.csproj index 44d112afc9e..9c5325bb75c 100644 --- a/src/EFCore.SqlServer/EFCore.SqlServer.csproj +++ b/src/EFCore.SqlServer/EFCore.SqlServer.csproj @@ -45,8 +45,8 @@ - - + + diff --git a/src/EFCore.Sqlite.Core/EFCore.Sqlite.Core.csproj b/src/EFCore.Sqlite.Core/EFCore.Sqlite.Core.csproj index b916b92851a..98a17bfb2c7 100644 --- a/src/EFCore.Sqlite.Core/EFCore.Sqlite.Core.csproj +++ b/src/EFCore.Sqlite.Core/EFCore.Sqlite.Core.csproj @@ -45,9 +45,9 @@ - - - + + + diff --git a/src/EFCore.Sqlite.NTS/EFCore.Sqlite.NTS.csproj b/src/EFCore.Sqlite.NTS/EFCore.Sqlite.NTS.csproj index c15872f5600..0d847a4b2a2 100644 --- a/src/EFCore.Sqlite.NTS/EFCore.Sqlite.NTS.csproj +++ b/src/EFCore.Sqlite.NTS/EFCore.Sqlite.NTS.csproj @@ -52,8 +52,8 @@ - - + + diff --git a/src/EFCore.Sqlite/EFCore.Sqlite.csproj b/src/EFCore.Sqlite/EFCore.Sqlite.csproj index 5e7afc5b865..9b6907b937d 100644 --- a/src/EFCore.Sqlite/EFCore.Sqlite.csproj +++ b/src/EFCore.Sqlite/EFCore.Sqlite.csproj @@ -42,8 +42,8 @@ - - + + diff --git a/src/EFCore/EFCore.csproj b/src/EFCore/EFCore.csproj index 359324146f2..de5eeaf77e1 100644 --- a/src/EFCore/EFCore.csproj +++ b/src/EFCore/EFCore.csproj @@ -52,8 +52,8 @@ Microsoft.EntityFrameworkCore.DbSet - - + + diff --git a/src/Microsoft.Data.Sqlite/Microsoft.Data.Sqlite.csproj b/src/Microsoft.Data.Sqlite/Microsoft.Data.Sqlite.csproj index 90b848797e7..c0b9b825269 100644 --- a/src/Microsoft.Data.Sqlite/Microsoft.Data.Sqlite.csproj +++ b/src/Microsoft.Data.Sqlite/Microsoft.Data.Sqlite.csproj @@ -28,7 +28,7 @@ Microsoft.Data.Sqlite.SqliteTransaction - +