net core 2.0,我遇到了获取完整路径的问题,如下所示如果您有任何想法,请给我解决方案
string filePath = Path.Combine(Path.Combine(Path.Combine(Path.Combine(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Plugins"), "Demopath"), "Views"), "DemoViews"), "Views.cshtml");
从这里我得到了这条路
D:\ILYAS\\nop4.0\Presentation\Nop.Web\bin\Debug\net461\Plugins\Demopath\Views\DemoViews\Views.cshtml
但我不需要\bin\Debug\net461\
因为这条额外的线我没有得到我的CSS和查看页面有人知道请告诉我
先感谢您