I have a solution with 2 projects:
- Client Library project made for .NET Standard 2.0
- Test project for .NET Core 3.0
And I created Azure DevOps pipeline which builds and packs this library for DevOps private Nuget feed. The pipeline contains the following steps:
- Use NuGet >= 5.3.1 (added this hoping to solve the issue)
- Use .Net Core sdk 3.0.100 (added this hoping to solve the issue)
- Restore packages
- Build ...
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.
xx.csproj
files and the details about your pipeline settings for better trouble-shooting ? – LoLance