Skip to content

Commit

Permalink
RCL projects should not end in ".Views" (#6847)
Browse files Browse the repository at this point in the history
Fixes #6796
  • Loading branch information
danieljsummers authored and scottaddie committed Jun 4, 2018
1 parent 7fbfbe0 commit 902f505
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aspnetcore/mvc/razor-pages/ui-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.

Expand All @@ -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.
Expand Down

0 comments on commit 902f505

Please sign in to comment.