Skip to content

Commit 9fb68ae

Browse files
committed
Docs: version number
1 parent b7df0ee commit 9fb68ae

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/site/docs/getting-started/create-test-project.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,22 @@ To add bUnit to the test project, change to the newly created test projects fold
5454

5555
```dotnetcli
5656
cd <NAME OF PROJECT>
57-
dotnet add package bunit.web --version #{VERSION}#
58-
dotnet add package bunit.xunit --version #{VERSION}#
57+
dotnet add package bunit.web --version #{NBGV_NuGetPackageVersion}#
58+
dotnet add package bunit.xunit --version #{NBGV_NuGetPackageVersion}#
5959
```
6060

6161
# [NUnit](#tab/nunit)
6262

6363
```dotnetcli
6464
cd <NAME OF PROJECT>
65-
dotnet add package bunit.web --version #{VERSION}#
65+
dotnet add package bunit.web --version #{NBGV_NuGetPackageVersion}#
6666
```
6767

6868
# [MSTest](#tab/mstest)
6969

7070
```dotnetcli
7171
cd <NAME OF PROJECT>
72-
dotnet add package bunit.web --version #{VERSION}#
72+
dotnet add package bunit.web --version #{NBGV_NuGetPackageVersion}#
7373
```
7474

7575
***
@@ -119,8 +119,8 @@ The result should be a test project with a `.csproj` that looks like this (other
119119
</PropertyGroup>
120120

121121
<ItemGroup>
122-
<PackageReference Include="bunit.web" Version="#{VERSION}#" />
123-
<PackageReference Include="bunit.xunit" Version="#{VERSION}#" />
122+
<PackageReference Include="bunit.web" Version="#{NBGV_NuGetPackageVersion}#" />
123+
<PackageReference Include="bunit.xunit" Version="#{NBGV_NuGetPackageVersion}#" />
124124
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
125125
<PackageReference Include="xunit" Version="2.4.1" />
126126
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
@@ -143,7 +143,7 @@ The result should be a test project with a `.csproj` that looks like this (other
143143
</PropertyGroup>
144144

145145
<ItemGroup>
146-
<PackageReference Include="bunit.web" Version="#{VERSION}#" />
146+
<PackageReference Include="bunit.web" Version="#{NBGV_NuGetPackageVersion}#" />
147147
<PackageReference Include="nunit" Version="3.12.0" />
148148
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1">
149149
<PrivateAssets>all</PrivateAssets>
@@ -170,7 +170,7 @@ The result should be a test project with a `.csproj` that looks like this (other
170170
</PropertyGroup>
171171

172172
<ItemGroup>
173-
<PackageReference Include="bunit.web" Version="#{VERSION}#" />
173+
<PackageReference Include="bunit.web" Version="#{NBGV_NuGetPackageVersion}#" />
174174
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
175175
<PackageReference Include="MSTest.TestAdapter" Version="2.1.0" />
176176
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />
@@ -203,7 +203,7 @@ These steps look like this from the `dotnet` CLI:
203203
Install the template from NuGet using this command:
204204

205205
```dotnetcli
206-
dotnet new --install bunit.template::#{VERSION}#
206+
dotnet new --install bunit.template::#{NBGV_NuGetPackageVersion}#
207207
```
208208

209209
**2. Create a new test project**

0 commit comments

Comments
 (0)