how to include views in asp.net 5 class library nuget package

I'm creating a class library project that will contain some ViewComponents. It is nice that VS 2015 can automatically produce the NuGet package for me, but is there any way that I can make it include content files like .cshtml view files that my ViewComponents will need?

Previously I've done packaging with batch files and nuspec files to make it include content, will I have to continue that approach or is there a way to tell VS 2015 about content files to include?


Not doable as yet. The feature will be in beta7

链接地址: http://www.djcxy.com/p/86664.html

上一篇: 如何在对象内部拆分JSON数组

下一篇: 如何在asp.net 5类库nuget包中包含视图