Alejandro is correct. Keep in mind if you add a test project it will default to targeting .net core 3.1 (or mine does) and so if you add a project reference to a .net 5.0 project you will have to change the target framework to .net 5.0 for the test project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.