Hello, we're having issues with the dotnet restore on Azure DevOps. We're running ABP Commercial. We cannot seem to get the Volo packages restored. How do we do this in DevOps without manually adding all the projects to the SLN?
If you're creating a bug/problem report, please include followings:
ABP Framework version: v5.2.2
UI type: Blazor
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): no
Exception message and stack trace:
During Azure DevOps build:
C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Saas.Host.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Identity.Pro.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Public.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.IdentityServer.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.LanguageManagement.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.LeptonTheme.Management.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.TextTemplateManagement.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg
Steps to reproduce the issue:"
Every time we run dotnet restore on Azure Devops, we get this error.
Hello,
I reverted everything to the original state, and I'm now seeing this:
AbpException: Could not find the bundle file '/libs/@fortawesome/fontawesome-free/css/all.css' for the bundle 'Blazor.LeptonTheme.Global'!
Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List<BundleTagHelperItem> bundleItems, string bundleName)
Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpBundleTagHelperService<TTagHelper, TService>.ProcessAsync(TagHelperContext context, TagHelperOutput output)
Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, int i, int count)
NewsMax.Blazor.Pages._Pages__Host.<ExecuteAsync>b__16_0() in _Host.cshtml
<abp-style-bundle name="@BlazorLeptonThemeBundles.Styles.Global" />
Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync() NewsMax.Blazor.Pages._Pages__Host.ExecuteAsync() in _Host.cshtml
<html lang="@CultureInfo.CurrentCulture.Name" dir="@rtl">
Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, bool invokeViewStarts) Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, string contentType, Nullable<int> statusCode) Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, string contentType, Nullable<int> statusCode)
Hello,
I tried that, and now I'm getting the error:
Exception thrown: 'Volo.Abp.AbpException' in System.Private.CoreLib.dll ("Could not find file '/libs/abp/core/abp.css'") Exception thrown: 'Volo.Abp.AbpException' in System.Private.CoreLib.dll ("Could not find file '/libs/abp/core/abp.css'")
I see the abp.css file in the node_modules folder, but not in a "lib" folder.
Thanks!
2.<GetOrAdd>b__0(TKey k) at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func2 valueFactory) at System.Collections.Generic.AbpDictionaryExtensions.GetOrAdd[TKey,TValue](ConcurrentDictionary
2 dictionary, TKey key, Func1 factory) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleCache.GetOrAdd(String bundleName, Func
1 factory)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.GetBundleFilesAsync(BundleConfigurationCollection bundles, String bundleName, IBundler bundler)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.GetStyleBundleFilesAsync(String bundleName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperStyleService.GetBundleFilesAsync(String bundleName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List1 bundleItems, String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpBundleTagHelperService
2.ProcessAsync(TagHelperContext context, TagHelperOutput output)
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, Int32 i, Int32 count)
at Site.Blazor.Pages.Pages__Host.<ExecuteAsync>b__16_0() in C:\dev\site-com-2022\src\Site.Blazor\Pages_Host.cshtml:line 20
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync()
at Site.Blazor.Pages.Pages__Host.ExecuteAsync() in C:\dev\site-com-2022\src\Site.Blazor\Pages_Host.cshtml:line 13
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable1 statusCode) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable
1 statusCode)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeResultAsync>g__Logged|22_0(ResourceInvoker invoker, IActionResult result)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()