0

This is the error I'm getting:

Severity Code Description Project File Line Suppression State Error Project 'D:\Work\DevWork\ProgrammingProjects\UnitTest\Bank\Bank\Bank.csproj' targets '.NETStandard,Version=v1.4'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.5.2'. BankTest

I have looked at this post but the solutions didn't work.

I try cleaning the solution then rebuilding the solution and I still get the above error.

Then I've tried cleaning and rebuilding each project. This gives me the above as a warning and an error.

The funny thing is I have run the tests. After cleaning then rebuilding then restarting. I have gotten the test to run once. It is just hit or miss.

Funlamb
  • 551
  • 7
  • 20

1 Answers1

1

You must upgrade your Bank Test Project to .NET Framework 4.6.1, because .Net Standard 1.4 is compatible to .NET Framework 4.6.1.

See .NET Standard 1.4 and .NET implementation support

M. Rezaeyan
  • 388
  • 2
  • 14