Update areas.md (#22788)

pull/22790/head
Rick Anderson 2021-07-21 11:12:31 -07:00 committed by GitHub
parent e2fee0072c
commit e8d89ca046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -216,6 +216,11 @@ To share a common layout for the entire app, move the *_ViewStart.cshtml* to the
### Publishing Areas
All *.cshtml files and files within the *wwwroot* directory are published to output when `<Project Sdk="Microsoft.NET.Sdk.Web">` is included in the *.csproj file.
## Add MVC Area with Visual Studio
In Solution Explorer, right click the project and select **ADD > New Scaffolded Item**, then select **MVC Area**.
::: moniker-end
::: moniker range="< aspnetcore-3.0"