File tree 1 file changed +3
-14
lines changed
1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -38,20 +38,9 @@ See the sample folder for more examples.
38
38
\HomeIndexQuery.cs
39
39
\Index.cshtml
40
40
41
- ### For project.json
42
- If you are using a version of .NET Core with project.json, add your feature folder to the list of assets to publish. In project.json:
43
- ```
44
- "publishOptions": {
45
- "include": [
46
- "wwwroot",
47
- "web.config",
48
- "Features/**/*.cshtml"
49
- ]
50
- }
51
- ```
52
41
53
- ### Just one more thing !
54
- AddFeatureFolders uses the namespace of the controller to figure out where the views are.
42
+ ### Important !
43
+ AddFeatureFolders ** uses the namespace of the controller to figure out where the views are** .
55
44
For example:
56
45
```
57
46
/Features
@@ -119,4 +108,4 @@ above the Startup class between the using statements and the namespace.
119
108
[assembly : AspMvcAreaViewLocationFormat (@" ~\Areas\{2}\{0}.cshtml" )]
120
109
[assembly : AspMvcAreaViewLocationFormat (@" ~\Areas\{2}\Shared\{0}.cshtml" )]
121
110
```
122
- Replace 'Features' and 'Areas' part if you set a custom folder name.
111
+ Replace 'Features' and 'Areas' part if you set a custom folder name.
You can’t perform that action at this time.
0 commit comments