how to update a project to cross target .net core

C#
        xml
        
            
        
     <TargetFrameworks>netstandard2.0;net45;net40</TargetFrameworks>

Source

Also in C#: