I was creating my test solution when I had to use the package manager to get the latest packages used on my custom solution to be the same as my test solution. The test code does NOT have this IDE warning. So I go back to my custom solution and now it too does NOT have the warning. Some thing happened I guess to trigger a re-evaluation of the code. Now all is fine.
Tom