npgsql / efcore.pg

Entity Framework Core provider for PostgreSQL
PostgreSQL License
1.54k stars 226 forks source link

Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.. #1507

Closed deokershesh closed 4 years ago

deokershesh commented 4 years ago

I downloaded (status says 968 commits) from Npgsql repository https://github.com/npgsql/efcore.pg, opened "EFCore.PG.sln" in VS 2019 and did build. It reported below error. Below is some more details on the versions I have. Could someone help to point the exact issue?

dotnet --version 3.1.401

dotnet tool list -g Package Id Version Commands

dotnet-ef 3.1.5 dotnet-ef

Error:

1>CSC : error CS8032: An instance of analyzer Microsoft.EntityFrameworkCore.InternalUsageDiagnosticAnalyzer cannot be created from C:\Users\sheshnarayan.a.nuget\packages\microsoft.entityframeworkcore.analyzers\5.0.0-rc.1.20451.13\analyzers\dotnet\cs\Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..

roji commented 4 years ago

@deokershesh I cannot reproduce this. I cloned https://github.com/npgsql/efcore.pg into a new, clean directory, checked out the tag v5.0.0-rc1 (commit 43694356fa07f839ca3503e2718a80240353229f), and opened it with the latest Visual Studio 2019 (16.7.2). The solution builds fine without a single warning or error (as it does in the continuous integration as well).

I also execute dotnet build at the repo root, and the solution built again without issues.

You are not sharing above your exact steps - as I did above - and not providing the full output from your attempts, so I don't know exactly what you're doing. If what I just described doesn't work for you, you probably have some environmental issue, try on a fresh machine or uninstall/reinstall Visual Studio.

deokershesh commented 4 years ago

@roji , My colleague also tried in his environment and he also got exact same error. Whereas older code (couple of months old) works without any problem. We found following ways to make the build pass, which certainly says something is broken in latest code of EFCore.PG. @roji , Not sure if you are working on development environment which is also building possibly EF Core.

In VS 2019, If I make either of the below changes then the build works (didn't try run time for any other issue).

  1. In the "Build" option of each project say "None" for "Treat Warnings as errors" OR
  2. In the "Code Analysis"option of each project disable "Run on build" and "Run on live analysis" options.

In the 5.0.0-rc.1.20451.13 version, it seems to have got dependencies on "Microsoft.EntityFrameworkCore.Analyzers" and further dependencies are not available by default. Doing the dependency checker confirms the same.

So it certainly appear something breaking changes has been introduced in 5.0.0-rc.1.20451.13

roji commented 4 years ago

@deokershesh can you please build on the command with dotnet build and post the full output?

deokershesh commented 4 years ago

Below is part of "dotnet build" output from command prompt. There are 87 errors and 12 warnings similar to below...

C:\Users\sheshnarayan.a.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj]

Extensions\NpgsqlNetTopologySuiteDbContextOptionsBuilderExtensions.cs(24,28): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG.NTS\EFCore.PG.NTS.csproj]

roji commented 4 years ago

@deokershesh I honestly have no idea what you're to get these errors - the project builds just fine for me, and also in continuous integration, all the time.

Please open a command-line terminal, create a new, empty directory, go into it, and execute the following, exactly as they're below (you may need to install git for Windows). Then, please paste all output from all commands - exactly as they are - and not just fragments:

deokershesh commented 4 years ago

@roji , Kindly find all the details asked below.

D:\shesh\EntityFrameworkCore>mkdir roji_postgres

D:\shesh\EntityFrameworkCore>cd roji_postgres

D:\shesh\EntityFrameworkCore\roji_postgres>git clone https://github.com/npgsql/efcore.pg Cloning into 'efcore.pg'... remote: Enumerating objects: 48, done. remote: Counting objects: 100% (48/48), done. remote: Compressing objects: 100% (34/34), done. remote: Total 14859 (delta 15), reused 29 (delta 12), pack-reused 14811 Receiving objects: 100% (14859/14859), 3.71 MiB | 340.00 KiB/s, done. Resolving deltas: 100% (10898/10898), done.

D:\shesh\EntityFrameworkCore\roji_postgres>cd efcore.pg

D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg>git checkout v5.0.0-rc1 Note: checking out 'v5.0.0-rc1'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

HEAD is now at 4369435 Sync to 5.0.0-rc.1.20451.13 (release)

D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg>dotnet build Microsoft (R) Build Engine version 16.7.0-preview-20360-03+188921e2f for .NET Copyright (C) Microsoft Corporation. All rights reserved.

Determining projects to restore... Restored D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.FuzzyStringMatch\EFCore.PG.FuzzyStringMatch.csproj (in 468 ms). Restored D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NTS\EFCore.PG.NTS.csproj (in 468 ms). Restored D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj (in 468 ms). Restored D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.Trigrams\EFCore.PG.Trigrams.csproj (in 1.07 sec). Restored D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG\EFCore.PG.csproj (in 1.08 sec). Restored D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\test\EFCore.PG.FunctionalTests\EFCore.PG.FunctionalTests.csproj (in 1.32 sec). Restored D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\test\EFCore.PG.NodaTime.FunctionalTests\EFCore.PG.NodaTime.FunctionalTests.csproj (in 1.32 sec). Extensions\NpgsqlNetTopologySuiteDbContextOptionsBuilderExtensions.cs(24,28): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NTS\EFCore.PG.NTS.csproj] Extensions\NpgsqlNetTopologySuiteDbContextOptionsBuilderExtensions.cs(23,23): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NTS\EFCore.PG.NTS.csproj] Query\ExpressionTranslators\Internal\NpgsqlNodaTimeMethodCallTranslatorPlugin.cs(10,45): error CS0234: The type or namespace name 'Query' does not exist in the namespace 'Npgsql.EntityFrameworkCore.PostgreSQL' (are you missing an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Query\ExpressionTranslators\Internal\NpgsqlNodaTimeMethodCallTranslatorPlugin.cs(11,45): error CS0234: The type or namespace name 'Query' does not exist in the namespace 'Npgsql.EntityFrameworkCore.PostgreSQL' (are you missing an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(5,62): error CS0234: The type or namespace name 'Mapping' does not exist in the namespace 'Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal' (are you missing an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(8,62): error CS0234: The type or namespace name 'Mapping' does not exist in the namespace 'Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal' (are you missing an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Extensions\NpgsqlNodaTimeDbContextOptionsBuilderExtensions.cs(21,28): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Extensions\NpgsqlNodaTimeDbContextOptionsBuilderExtensions.cs(20,23): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Query\ExpressionTranslators\Internal\NpgsqlNodaTimeMethodCallTranslatorPlugin.cs(40,18): error CS0246: The type or namespace name 'NpgsqlSqlExpressionFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Query\ExpressionTranslators\Internal\NpgsqlNodaTimeMethodCallTranslatorPlugin.cs(71,51): error CS0246: The type or namespace name 'NpgsqlSqlExpressionFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(17,44): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(24,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(27,47): error CS0115: 'TimestampInstantMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(30,41): error CS0115: 'TimestampInstantMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(33,35): error CS0115: 'TimestampInstantMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(36,36): error CS0115: 'TimestampInstantMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Query\ExpressionTranslators\Internal\NpgsqlTrigramsMethodTranslator.cs(10,51): error CS0234: The type or namespace name 'Expressions' does not exist in the namespace 'Npgsql.EntityFrameworkCore.PostgreSQL.Query' (are you missing an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.Trigrams\EFCore.PG.Trigrams.csproj] Extensions\NpgsqlTrigramsDbContextOptionsBuilderExtensions.cs(18,18): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.Trigrams\EFCore.PG.Trigrams.csproj] Extensions\NpgsqlTrigramsDbContextOptionsBuilderExtensions.cs(17,23): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.Trigrams\EFCore.PG.Trigrams.csproj] Query\ExpressionTranslators\Internal\NpgsqlTrigramsMethodTranslator.cs(45,18): error CS0246: The type or namespace name 'NpgsqlSqlExpressionFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.Trigrams\EFCore.PG.Trigrams.csproj] Query\ExpressionTranslators\Internal\NpgsqlTrigramsMethodTranslator.cs(56,47): error CS0246: The type or namespace name 'NpgsqlSqlExpressionFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.Trigrams\EFCore.PG.Trigrams.csproj] Storage\Internal\NodaTimeMappings.cs(21,43): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(46,50): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(62,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(65,47): error CS0115: 'TimestampLocalDateTimeMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(68,41): error CS0115: 'TimestampLocalDateTimeMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(71,35): error CS0115: 'TimestampLocalDateTimeMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(74,36): error CS0115: 'TimestampLocalDateTimeMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(59,49): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(93,46): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(100,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(103,47): error CS0115: 'TimestampTzInstantMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(106,41): error CS0115: 'TimestampTzInstantMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(109,35): error CS0115: 'TimestampTzInstantMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(112,36): error CS0115: 'TimestampTzInstantMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(97,45): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(116,53): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(132,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(135,47): error CS0115: 'TimestampTzOffsetDateTimeMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(138,41): error CS0115: 'TimestampTzOffsetDateTimeMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(141,35): error CS0115: 'TimestampTzOffsetDateTimeMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(144,36): error CS0115: 'TimestampTzOffsetDateTimeMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(129,52): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(157,52): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(168,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(171,47): error CS0115: 'TimestampTzZonedDateTimeMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(174,41): error CS0115: 'TimestampTzZonedDateTimeMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(177,35): error CS0115: 'TimestampTzZonedDateTimeMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(180,36): error CS0115: 'TimestampTzZonedDateTimeMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(165,51): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(211,32): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(221,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(224,47): error CS0115: 'DateMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(227,41): error CS0115: 'DateMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(230,35): error CS0115: 'DateMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(233,36): error CS0115: 'DateMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(218,31): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(244,32): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(261,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(264,47): error CS0115: 'TimeMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(267,41): error CS0115: 'TimeMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(270,35): error CS0115: 'TimeMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(273,36): error CS0115: 'TimeMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(258,31): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(288,34): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(317,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(320,47): error CS0115: 'TimeTzMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(323,41): error CS0115: 'TimeTzMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(326,35): error CS0115: 'TimeTzMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(329,36): error CS0115: 'TimeTzMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(314,33): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(354,36): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(361,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(364,47): error CS0115: 'IntervalMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(367,41): error CS0115: 'IntervalMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(370,35): error CS0115: 'IntervalMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(358,35): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(33,28): error CS0246: The type or namespace name 'NpgsqlRangeTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(34,28): error CS0246: The type or namespace name 'NpgsqlRangeTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(35,28): error CS0246: The type or namespace name 'NpgsqlRangeTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(36,28): error CS0246: The type or namespace name 'NpgsqlRangeTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(37,28): error CS0246: The type or namespace name 'NpgsqlRangeTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(38,28): error CS0246: The type or namespace name 'NpgsqlRangeTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Extensions\NpgsqlFuzzyStringMatchDbContextOptionsBuilderExtensions.cs(18,18): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.FuzzyStringMatch\EFCore.PG.FuzzyStringMatch.csproj] Extensions\NpgsqlFuzzyStringMatchDbContextOptionsBuilderExtensions.cs(17,23): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.FuzzyStringMatch\EFCore.PG.FuzzyStringMatch.csproj] Query\ExpressionTranslators\Internal\NpgsqlFuzzyStringMatchMethodTranslator.cs(31,18): error CS0246: The type or namespace name 'NpgsqlSqlExpressionFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.FuzzyStringMatch\EFCore.PG.FuzzyStringMatch.csproj] Query\ExpressionTranslators\Internal\NpgsqlFuzzyStringMatchMethodTranslator.cs(44,55): error CS0246: The type or namespace name 'NpgsqlSqlExpressionFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.FuzzyStringMatch\EFCore.PG.FuzzyStringMatch.csproj]

Build FAILED.

Extensions\NpgsqlNetTopologySuiteDbContextOptionsBuilderExtensions.cs(24,28): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NTS\EFCore.PG.NTS.csproj] Extensions\NpgsqlNetTopologySuiteDbContextOptionsBuilderExtensions.cs(23,23): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NTS\EFCore.PG.NTS.csproj] Query\ExpressionTranslators\Internal\NpgsqlNodaTimeMethodCallTranslatorPlugin.cs(10,45): error CS0234: The type or namespace name 'Query' does not exist in the namespace 'Npgsql.EntityFrameworkCore.PostgreSQL' (are you missing an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Query\ExpressionTranslators\Internal\NpgsqlNodaTimeMethodCallTranslatorPlugin.cs(11,45): error CS0234: The type or namespace name 'Query' does not exist in the namespace 'Npgsql.EntityFrameworkCore.PostgreSQL' (are you missing an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(5,62): error CS0234: The type or namespace name 'Mapping' does not exist in the namespace 'Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal' (are you missing an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(8,62): error CS0234: The type or namespace name 'Mapping' does not exist in the namespace 'Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal' (are you missing an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Extensions\NpgsqlNodaTimeDbContextOptionsBuilderExtensions.cs(21,28): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Extensions\NpgsqlNodaTimeDbContextOptionsBuilderExtensions.cs(20,23): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Query\ExpressionTranslators\Internal\NpgsqlNodaTimeMethodCallTranslatorPlugin.cs(40,18): error CS0246: The type or namespace name 'NpgsqlSqlExpressionFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Query\ExpressionTranslators\Internal\NpgsqlNodaTimeMethodCallTranslatorPlugin.cs(71,51): error CS0246: The type or namespace name 'NpgsqlSqlExpressionFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(17,44): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(24,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(27,47): error CS0115: 'TimestampInstantMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(30,41): error CS0115: 'TimestampInstantMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(33,35): error CS0115: 'TimestampInstantMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(36,36): error CS0115: 'TimestampInstantMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Query\ExpressionTranslators\Internal\NpgsqlTrigramsMethodTranslator.cs(10,51): error CS0234: The type or namespace name 'Expressions' does not exist in the namespace 'Npgsql.EntityFrameworkCore.PostgreSQL.Query' (are you missing an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.Trigrams\EFCore.PG.Trigrams.csproj] Extensions\NpgsqlTrigramsDbContextOptionsBuilderExtensions.cs(18,18): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.Trigrams\EFCore.PG.Trigrams.csproj] Extensions\NpgsqlTrigramsDbContextOptionsBuilderExtensions.cs(17,23): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.Trigrams\EFCore.PG.Trigrams.csproj] Query\ExpressionTranslators\Internal\NpgsqlTrigramsMethodTranslator.cs(45,18): error CS0246: The type or namespace name 'NpgsqlSqlExpressionFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.Trigrams\EFCore.PG.Trigrams.csproj] Query\ExpressionTranslators\Internal\NpgsqlTrigramsMethodTranslator.cs(56,47): error CS0246: The type or namespace name 'NpgsqlSqlExpressionFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.Trigrams\EFCore.PG.Trigrams.csproj] Storage\Internal\NodaTimeMappings.cs(21,43): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(46,50): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(62,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(65,47): error CS0115: 'TimestampLocalDateTimeMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(68,41): error CS0115: 'TimestampLocalDateTimeMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(71,35): error CS0115: 'TimestampLocalDateTimeMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(74,36): error CS0115: 'TimestampLocalDateTimeMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(59,49): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(93,46): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(100,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(103,47): error CS0115: 'TimestampTzInstantMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(106,41): error CS0115: 'TimestampTzInstantMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(109,35): error CS0115: 'TimestampTzInstantMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(112,36): error CS0115: 'TimestampTzInstantMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(97,45): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(116,53): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(132,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(135,47): error CS0115: 'TimestampTzOffsetDateTimeMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(138,41): error CS0115: 'TimestampTzOffsetDateTimeMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(141,35): error CS0115: 'TimestampTzOffsetDateTimeMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(144,36): error CS0115: 'TimestampTzOffsetDateTimeMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(129,52): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(157,52): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(168,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(171,47): error CS0115: 'TimestampTzZonedDateTimeMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(174,41): error CS0115: 'TimestampTzZonedDateTimeMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(177,35): error CS0115: 'TimestampTzZonedDateTimeMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(180,36): error CS0115: 'TimestampTzZonedDateTimeMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(165,51): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(211,32): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(221,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(224,47): error CS0115: 'DateMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(227,41): error CS0115: 'DateMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(230,35): error CS0115: 'DateMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(233,36): error CS0115: 'DateMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(218,31): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(244,32): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(261,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(264,47): error CS0115: 'TimeMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(267,41): error CS0115: 'TimeMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(270,35): error CS0115: 'TimeMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(273,36): error CS0115: 'TimeMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(258,31): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(288,34): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(317,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(320,47): error CS0115: 'TimeTzMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(323,41): error CS0115: 'TimeTzMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(326,35): error CS0115: 'TimeTzMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(329,36): error CS0115: 'TimeTzMapping.GenerateCodeLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(314,33): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(354,36): error CS0246: The type or namespace name 'NpgsqlTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(361,56): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(364,47): error CS0115: 'IntervalMapping.Clone(string, int?)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(367,41): error CS0115: 'IntervalMapping.Clone(ValueConverter)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(370,35): error CS0115: 'IntervalMapping.GenerateNonNullSqlLiteral(object)': no suitable method found to override [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NodaTimeMappings.cs(358,35): error CS0246: The type or namespace name 'RelationalTypeMappingParameters' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(33,28): error CS0246: The type or namespace name 'NpgsqlRangeTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(34,28): error CS0246: The type or namespace name 'NpgsqlRangeTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(35,28): error CS0246: The type or namespace name 'NpgsqlRangeTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(36,28): error CS0246: The type or namespace name 'NpgsqlRangeTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(37,28): error CS0246: The type or namespace name 'NpgsqlRangeTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Storage\Internal\NpgsqlNodaTimeTypeMappingSourcePlugin.cs(38,28): error CS0246: The type or namespace name 'NpgsqlRangeTypeMapping' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.NodaTime\EFCore.PG.NodaTime.csproj] Extensions\NpgsqlFuzzyStringMatchDbContextOptionsBuilderExtensions.cs(18,18): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.FuzzyStringMatch\EFCore.PG.FuzzyStringMatch.csproj] Extensions\NpgsqlFuzzyStringMatchDbContextOptionsBuilderExtensions.cs(17,23): error CS0246: The type or namespace name 'NpgsqlDbContextOptionsBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.FuzzyStringMatch\EFCore.PG.FuzzyStringMatch.csproj] Query\ExpressionTranslators\Internal\NpgsqlFuzzyStringMatchMethodTranslator.cs(31,18): error CS0246: The type or namespace name 'NpgsqlSqlExpressionFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.FuzzyStringMatch\EFCore.PG.FuzzyStringMatch.csproj] Query\ExpressionTranslators\Internal\NpgsqlFuzzyStringMatchMethodTranslator.cs(44,55): error CS0246: The type or namespace name 'NpgsqlSqlExpressionFactory' could not be found (are you missing a using directive or an assembly reference?) [D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg\src\EFCore.PG.FuzzyStringMatch\EFCore.PG.FuzzyStringMatch.csproj] 0 Warning(s) 87 Error(s)

Time Elapsed 00:00:11.03

D:\shesh\EntityFrameworkCore\roji_postgres\efcore.pg>

deokershesh commented 4 years ago

Just to add, from "command prompt" even my old code (2 months old) also reports similar/same errors. However my same "old code" passes when I do the build from V S 2019 (EFCore.PG.sln). However following the same method the latest code with 5.0.0.rc1 fails with dependency errors.

roji commented 4 years ago

I have no idea what's going on, but the errors seem to be coming from the NetTopologySuite plugin, which you don't care about. Can you please run dotnet build inside src\EFCore.PG and report whether that works? If so, just delete all the other projects.

deokershesh commented 4 years ago

Yes only EFCore.PG works with warnings though from command line. Is this dir sufficient to build and work? If so, then I will proceed accordingly.

D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG>dotnet build Microsoft (R) Build Engine version 16.7.0-preview-20360-03+188921e2f for .NET Copyright (C) Microsoft Corporation. All rights reserved.

Determining projects to restore... All projects are up-to-date for restore. C:\Users\sheshnarayan.a.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG'. [D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG\EFCore.PG.csproj] C:\Users\sheshnarayan.a.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG'. [D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG\EFCore.PG.csproj] C:\Users\sheshnarayan.a.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG\EFCore.PG.csproj] EFCore.PG -> D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG\bin\x64\Debug\netstandard2.1\Npgsql.EntityFrameworkCore.PostgreSQL.dll

Build succeeded.

C:\Users\sheshnarayan.a.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG'. [D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG\EFCore.PG.csproj] C:\Users\sheshnarayan.a.nuget\packages\microsoft.build.tasks.git\1.0.0\build\Microsoft.Build.Tasks.Git.targets(47,5): warning : Unable to locate repository with working directory that contains directory 'D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG'. [D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG\EFCore.PG.csproj] C:\Users\sheshnarayan.a.nuget\packages\microsoft.sourcelink.common\1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty. [D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG\EFCore.PG.csproj] 3 Warning(s) 0 Error(s)

Time Elapsed 00:00:03.82

D:\shesh\EntityFrameworkCore\efcore.pg-dev-latest-17thSept2020\efcore.pg-dev\src\EFCore.PG>

roji commented 4 years ago

Yes only EFCore.PG works with warnings though from command line. Is this dir sufficient to build and work? If so, then I will proceed accordingly.

Yes. NetTopologySuite is only a plugin for database spatial support. You can (and should) delete them entirely for your provider.

The warnings are probably because the directory isn't a git repository, but rather a ZIP which you opened. They should not appear when working on a cloned directory, as per my instructions above. Either way they're not important.

deokershesh commented 4 years ago

I don't think build issue is resolved yet. I mean, when VS 2019 solution is used, to do the build then certainly build is broken with introduction of 5.0.0.rc1!!

May be the below question would help me to understand it better. Can I take the Directory.Build.props, Directory.Build.targets and global.json file changes and use it in old code (2 months old) OR do I need to make some more code changes in the respective source files? Basically, I am still trying to solve ticket https://github.com/dotnet/efcore/issues/22492 and following up suggestions but ended up with this build issue.

roji commented 4 years ago

@deokershesh Directory.Build.targets is the file that contains the EF Core dependencies. So you will of course have to make code changes, since EF Core has changed in the meantime. My recommendation would be to move these files across, make the necessary code adjustments, and also to delete any unrelated projects (i.e. the plugins).