Install the CLI
DotVVM Command-Line tool can be used for several purposes:
- Adding pages, master pages, or markup controls in the project
- Generating REST API bindings
In the future, we plan to add additional features, like generating Selenium page objects for DotHTML pages, and more.
Install the CLI tool
To install DotVVM CLI globally, run the following command in the terminal:
dotnet tool install -g DotVVM.CommandLine
Remove the DotNetCliToolReference
If you've been using ASP.NET Core with .NET Core 2.2 or lower, you'll probably have the following entry in the .csproj
file:
<ItemGroup>
<DotNetCliToolReference Include="DotVVM.CommandLine" Version="2.0.0" />
</ItemGroup>
This can be safely removed, as the DotNetCliToolReference
was deprecated, and installing command-line tools via dotnet tool install
is now the preferred way.