Azure Pipeline error

Hi,

I am trying to create a build pipeline for a simple cobol console app created using Microsoft Visual Studio. I have installed Microfocus Visual cobol and VS 2022 in an azure VM which I use as self hosted agent in Azure pipeline. While executing the pipeline , I am getting the error 

"The nuget command failed with exit code(1) and error(NU1101: Unable to find package MicroFocus.COBOL.Runtime. No packages exist with this id in source(s): NuGetOrg Errors in c:\work\1\s\DemoCobolApp\DemoCobolApp\DemoCobolApp.cblproj NU1101: Unable to find package MicroFocus.COBOL.Runtime. No packages exist with this id in source(s): NuGetOrg)"

Am I missing any nuget configuration. Please note that the same app can be build successfully using VS 2022 when running in the same machine.

Any help is appreciated.  My actual target is to create Azure CI/CD pipelines for cobol program. Hence I am doing a small poc by creating a small cobol console app.

Thanks,

Jay

Labels:

Knowledge partners