ABP多数据库下发布异常“Could not find content root folder”问题处理
最近公司准备使用ABP做项目,研究时发现在多数据库下发布会有一个“Could not find content root folder!”的错误。
问题代码在core项目下Web文件夹里的WebContentDirectoryFinder中,查遍资料还是一头雾水。
最终还是让我找到了解决方案:
Core下面的WebContentDirectoryFinder.cs
将
throw new Exception("Could not find content root folder!");
换成
return coreAssemblyDirectoryPath;
https://www.cnblogs.com/albertay/p/11008348.html
不得不感叹一下,还是得写写随笔博客之类的笔记,这种稀奇古怪的问题如果没有好心人记录,可能要研究很久