Skip to content

Commit facb001

Browse files
committed
Added the submodules initialization step
1 parent 4f11043 commit facb001

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ProjectTemplates/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ Some projects in this repository (like SignalR Java Client) require JDK installa
1212
## Building Templates
1313
1. Run `. .\activate.ps1` if you haven't already.
1414

15-
1. Run `git submodule update` in the repository root if you haven't already.
15+
1. Run `git submodule update --init --recursive` if you haven't already.
16+
1. Run `git submodule update` to update submodules.
1617
1. Run `build.cmd -all -pack` in the repository root to build all of the dependencies.
1718
1. Run `build.cmd` in this directory will produce NuGet packages for each class of template in the artifacts directory.
1819
1. Because the templates build against the version of `Microsoft.AspNetCore.App` that was built during the previous step, it is NOT advised that you install templates created on your local machine via `dotnet new -i [nupkgPath]`. Instead, use the `Run-[Template]-Locally.ps1` scripts in the script folder. These scripts do `dotnet new -i` with your packages, but also apply a series of fixes and tweaks to the created template which keep the fact that you don't have a production `Microsoft.AspNetCore.App` from interfering.

0 commit comments

Comments
 (0)