The view of the dotnet core Razor class library could not be found

Development environment win10 vs2017
I made a Razor class library and ui in a solution. lib.dll and lib.views.dll
are generated in debug mode. In the same solution, another mvc website project, referenced by this project, shows no problem.
in another solution, a mvc website project references lib.dll and lib.views.dll , but displays an error and cshtml

is not found.

clipboard.png

clipboard.png

clipboard.png

clipboard.png

VCardCoreWeb_ViewStart.cshtml
clipboard.png
VCardCoreWeb _Layout.cshtml

_Layout.cshtml

clipboard.png

clipboard.png

how to solve this?


 public static void AddVCardO2OUI(this IServiceCollection services)
        {
            services.Configure<RazorViewEngineOptions>(
                o =>
                {
                    o.AreaViewLocationFormats.Clear();
                    o.AreaViewLocationFormats.Add("~/Areas/{2}/Views/{1}/{0}" + RazorViewEngine.ViewExtension);
                    o.AreaViewLocationFormats.Add("~/Areas/{2}/Views/Shared/{0}" + RazorViewEngine.ViewExtension);
                    o.AreaViewLocationFormats.Add("~/Areas/{2}/Views/Shared/BasePage/{0}" + RazorViewEngine.ViewExtension);
                    o.AreaViewLocationFormats.Add("~/Views/Shared/{0}" + RazorViewEngine.ViewExtension);
                    o.AreaViewLocationFormats.Add("~/Views/Shared/BasePage/{0}" + RazorViewEngine.ViewExtension);

                    o.AreaViewLocationFormats.Add("~/Areas/{2}/O2OViews/{1}/{0}" + RazorViewEngine.ViewExtension);
                    o.AreaViewLocationFormats.Add("~/Areas/{2}/O2OViews/Shared/{0}" + RazorViewEngine.ViewExtension);
                    o.AreaViewLocationFormats.Add("~/Areas/{2}/O2OViews/Shared/BasePage/{0}" + RazorViewEngine.ViewExtension);

                    o.AreaViewLocationFormats.Add("~/O2OViews/Shared/{0}" + RazorViewEngine.ViewExtension);
                    o.AreaViewLocationFormats.Add("~/O2OViews/Shared/BasePage/{0}" + RazorViewEngine.ViewExtension);

                    o.ViewLocationFormats.Clear();

                    o.ViewLocationFormats.Add("~/Views/{1}/{0}" + RazorViewEngine.ViewExtension);
                    o.ViewLocationFormats.Add("~/Views/Shared/{0}" + RazorViewEngine.ViewExtension);
                    o.ViewLocationFormats.Add("~/Views/Shared/BasePage/{0}" + RazorViewEngine.ViewExtension);

                    o.ViewLocationFormats.Add("~/O2OViews/{1}/{0}" + RazorViewEngine.ViewExtension);
                    o.ViewLocationFormats.Add("~/O2OViews/Shared/{0}" + RazorViewEngine.ViewExtension);
                    o.ViewLocationFormats.Add("~/O2OViews/Shared/BasePage/{0}" + RazorViewEngine.ViewExtension);
                });
        }

change O2OView to your own

in addition, I use nuget and quote dll,view.dll directly. I don't know if there will be a problem

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea00b4-1aa7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea00b4-1aa7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?