5.6K Star 11.4K Fork 4K

GVPdotNET China / Furion

 / 详情

使用内置日志组件后EFCore数据迁移报错

已完成
创建于  
2022-07-27 10:57

Furion 版本号

v4.0.3


Web 项目类型

  • WebApi
  • Mvc
  • Razor Pages
  • Blazor Server
  • MinApp

描述你的问题

输入图片说明
输入图片说明

项目: xxx\Migrations
update-tabase
使用的控制台,未使用IIS。 再报错的时候,我手动打开txt文件编辑保存或删除,均不提示文件被占用。
无任何dotnet.exe进程
重启电脑, 打开vs, 直接update-database,仍旧是这个错误。

异常堆栈信息

System.AggregateException: An error occurred while writing to logger(s). (The process cannot access the file 'D:\Project\Tianchi\src\Tianchi\Tianchi.Web.Entry\logs\info.20220727.log' because it is being used by another process.)
---> System.IO.IOException: The process cannot access the file 'D:\Project\Tianchi\src\Tianchi\Tianchi.Web.Entry\logs\info.20220727.log' because it is being used by another process.


被其他进程占用。

评论 (2)

Gordo 创建了任务
Gordo 修改了描述
展开全部操作日志

v4.0.4 版本发布,已修正。

百小僧 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
974299 monksoul 1578937227 81568 gordo 1578916720
C#
1
https://gitee.com/dotnetchina/Furion.git
git@gitee.com:dotnetchina/Furion.git
dotnetchina
Furion
Furion

搜索帮助

14c37bed 8189591 565d56ea 8189591