Upgrading a .Net Framework library to .Net 5