Install the [Microsoft.VisualStudio.Web.CodeGeneration.Design](https://www.nuget.org/packages/Microsoft.VisualStudio.Web.CodeGeneration.Design/) NuGet package: # [Visual Studio](#tab/visual-studio) In the Visual Studio **Package Manager Console**: ```powershell Install-Package Microsoft.VisualStudio.Web.CodeGeneration.Design ``` # [.NET Core CLI](#tab/netcore-cli) ```dotnetcli dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design ``` ---