Skip to content

Commit f11aa2f

Browse files
authored
Update README.md
1 parent 8d82525 commit f11aa2f

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

README.md

+3-14
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,9 @@ See the sample folder for more examples.
3838
\HomeIndexQuery.cs
3939
\Index.cshtml
4040

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-
```
5241

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**.
5544
For example:
5645
```
5746
/Features
@@ -119,4 +108,4 @@ above the Startup class between the using statements and the namespace.
119108
[assembly: AspMvcAreaViewLocationFormat(@"~\Areas\{2}\{0}.cshtml")]
120109
[assembly: AspMvcAreaViewLocationFormat(@"~\Areas\{2}\Shared\{0}.cshtml")]
121110
```
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.

0 commit comments

Comments
 (0)