RCL projects should not end in ".Views" (#6847)

Fixes #6796
pull/6850/head
Daniel J. Summers 2018-06-04 12:10:28 -05:00 committed by Scott Addie
parent 7fbfbe0bbb
commit 902f50551f
1 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ This feature requires [!INCLUDE[](~/includes/2.1-SDK.md)]
* From the Visual Studio **File** menu, select **New** > **Project**.
* Select **ASP.NET Core Web Application**.
* Name the library (for example, "RazorClassLib") > **OK**. To avoid a file name collision with the generated view library, ensure the library name doesn't end in `.Views`.
* Verify **ASP.NET Core 2.1** or later is selected.
* Select **Razor Class Library** > **OK**.
@ -38,7 +39,7 @@ From the commandline, run `dotnet new razorclasslib`. For example:
dotnet new razorclasslib -o RazorUIClassLib
```
For more information, see [dotnet new](/dotnet/core/tools/dotnet-new).
For more information, see [dotnet new](/dotnet/core/tools/dotnet-new). To avoid a file name collision with the generated view library, ensure the library name doesn't end in `.Views`.
------
Add Razor files to the RCL.