代码拉取完成,页面将自动刷新
v4.0.3
项目: 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.
被其他进程占用。