Hi
I am unable to implement CI\CD as I am unable to compile on Azure DevOps, and therefore unable to deploy to Azure.
During the NuGetCommand process, I get an error with every Volo.Abp package ?
##[error]Packages failed to restore
many lines like below
NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial. No packages exist with this id in source(s): NuGetOrg
NU1101: Unable to find package Volo.Abp.Commercial.Core. No packages exist with this id in source(s): NuGetOrg
NU1101: Unable to find package Volo.Abp.Identity.Pro.Application.Contracts. No packages exist with this id in source(s): NuGetOrg)
Do you have documentation for the build pipeline that is able to help, or assist me to get this resolved?
I have saved the log file.
Screenshot below.
7 Answer(s)
-
0
Hi @Tony_Albutt,
Commercial ABP Packages are not listed on NuGet.org, but nuget.abp.io .
You need to add this package source (to your NuGet sources). Example:
<add key="ABP Commercial NuGet Source" value="https://nuget.abp.io/{Your-Key}/v3/index.json" />
You can find this line in
NuGet.Config
file in your project. Check it to see{Your-Key}
value. -
0
Thanks Yelalkan
I have that in my NuGet.Config file?
Is there a setting that I have to enable somewhere?
Thanks and regards
Tony
-
0
You can check the following document https://docs.microsoft.com/en-us/azure/devops/pipelines/packages/nuget-restore?view=azure-devops#restore-packages-with-nuget-restore-build-task
-
0
Can you recomend where I can get information on how to create a pipeline that works with ABP.IO
Does anyony use ABP.IO on Azure and Azure DevOps? -
0
I think this is what you are looking for: https://abpioazuredevopsblazor.azurewebsites.net/
It is published by an ABP community member.
-
0
Thanks Yekalkan
This looks fantastic
Have a great day
-
0
Thanks Yekalkan
After some tweeking and changing, this is now working.
You may want to recorn that there are 3 changes than need to be applied when anyone uses the instructions from your link
https://abpioazuredevopsblazor.azurewebsites.net/
results