From 902f50551fbbcc8f1d4419be993c225770a8da91 Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Mon, 4 Jun 2018 12:10:28 -0500 Subject: [PATCH] RCL projects should not end in ".Views" (#6847) Fixes #6796 --- aspnetcore/mvc/razor-pages/ui-class.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aspnetcore/mvc/razor-pages/ui-class.md b/aspnetcore/mvc/razor-pages/ui-class.md index 7660240883..4e2a763edb 100644 --- a/aspnetcore/mvc/razor-pages/ui-class.md +++ b/aspnetcore/mvc/razor-pages/ui-class.md @@ -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.