I have a solution with 2 projects:
And I created Azure DevOps pipeline which builds and packs this library for DevOps private Nuget feed. The pipeline contains the following steps:
But the process fails at Restore packages step with:
error NU1201: Project [Test Project] is not compatible with netcoreapp2.2 (.NETCoreApp,Version=v2.2). Project [Test Project] supports: netcoreapp3.0 (.NETCoreApp,Version=v3.0)
So how can I set up CI/CD for.Net Core 3.0?
I DO NOT use YAML - I hate that thing.
I tried "Use Nuget" to force the pipeline to use the latest Nuget. I also tried to for it using the latest.Net Core 3.1.x. All this doesn't help.
What helped was the re-creation of the test project. Now the pipeline works!
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.