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.