Asp.net core ASP.NET核心视图组件位置是否有ReSharper属性?
我正在使用并希望将视图组件与视图放在同一文件夹中 对于ReSharper,您可以为视图位置设置如下属性:Asp.net core ASP.NET核心视图组件位置是否有ReSharper属性?,asp.net-core,resharper,Asp.net Core,Resharper,我正在使用并希望将视图组件与视图放在同一文件夹中 对于ReSharper,您可以为视图位置设置如下属性: [assembly: AspMvcViewLocationFormat(@"~\Features\{1}\{0}.cshtml")] [assembly: AspMvcViewLocationFormat(@"~\Features\Shared\{0}.cshtml")] 这使得ReSharper能够正确推断视图的位置,用于视图生成和导航。但是,这不适用于视图组件 是否有任何方法可以为视图
[assembly: AspMvcViewLocationFormat(@"~\Features\{1}\{0}.cshtml")]
[assembly: AspMvcViewLocationFormat(@"~\Features\Shared\{0}.cshtml")]
这使得ReSharper能够正确推断视图的位置,用于视图生成和导航。但是,这不适用于视图组件
是否有任何方法可以为视图组件获得相同的效果