title: Azure Function, EF Core, Can't load ComponentModel.Annotations 4.2.0.0
body: <p>I have created several .Net Standard 2.0 libraries, tested the execution via a console application, as well as several tests - all is good.</p>
  
  <p>Move over to azure function, and get the following run-time error:
  <a href="https://i.stack.imgur.com/LzMqg.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/LzMqg.jpg" alt="enter image description here"></a></p>
  
  <p>I then try to download that specific version into the API Function project:
  <a href="https://i.stack.imgur.com/BSfiQ.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/BSfiQ.jpg" alt="enter image description here"></a></p>
  
  <p>I'm using Visual Studio Version 15.7.0 Preview 5.0.  I have updated the Azure Function to 4.7... as the console and test projects are - and those work.</p>
  
  <p>Been at this a far too many hours.. so I'm hoping the resolution isn't something crazy. Ef Core 2.1.0-rc1-final is also in the mix.  Using data annotations for Required, MaxLength, NotMapped.</p>
  
  <p>Error in graphic says:
   Microsoft.EntityFrameworkCore: Could not load file or assembly 'System.ComponentModel.Annotations, Version=4.2.0.0</p>