Abp vNext(四)运行项目

运行环境

Win11

vs2022

Abp vNext 7.0.0

初始化数据库成功后,用swagger打开是正常的,但是浏览站点异常

An unhandled exception occurred while processing the request.

AbpException: Could not find the bundle file '/libs/abp/core/abp.css' for the bundle 'LeptonXLite.Global'!

Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List<BundleTagHelperItem> bundleItems, string bundleName)

异常截图

发现wwwroot/libs文件夹是空的,并且npm引用项也有问题

右键wwwroot文件夹→在终端中打开,输入一下命令

cs 复制代码
abp install-libs

会重新进行安装libs

安装完成后编译,重新运行,即可正常访问。

上一篇:Abp vNext(三)数据迁移

下一篇:

相关推荐
deriva3 天前
.netcore+ef+redis+rabbitmq+dotcap先同步后异步再同步的方法,亲测有效
redis·rabbitmq·.netcore
棉晗榜18 天前
C# .net core添加单元测试项目,依赖注入接口测试
单元测试·c#·.netcore
时光追逐者18 天前
.NET初级软件工程师面试经验分享
经验分享·面试·职场和发展·c#·.net·.netcore
忧郁的蛋~20 天前
.NET Core 实现缓存的预热的方式
缓存·c#·.net·.netcore
csdn_aspnet21 天前
C# .NET Core 源代码生成器(dotnet source generators)
c#·.netcore
时光追逐者21 天前
C#/.NET/.NET Core技术前沿周刊 | 第 42 期(2025年6.9-6.15)
c#·.net·.netcore
csdn_aspnet22 天前
使用 C# 源生成器(Source Generators)进行高效开发:增强 Blazor 及其他功能
c#·.netcore
lgaof65822@gmail.com24 天前
Asp.Net Core SignalR导入数据
前端·后端·asp.net·.netcore
眸笑丶24 天前
.NET Core 数据库连接字符串加密与解密
数据库·oracle·.netcore
时光追逐者1 个月前
C#/.NET/.NET Core技术前沿周刊 | 第 41 期(2025年6.1-6.8)
c#·.net·.netcore