Skip to content

Commit b15c3c2

Browse files
authored
Clarify version match constraint in Package-Versioning.md (#3398)
1 parent 50b1412 commit b15c3c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/concepts/Package-Versioning.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ Avoid specifying an upper bound to version ranges to packages you don't own unle
132132
Will resolve to the highest acceptable stable version.-->
133133
<PackageReference Include="ExamplePackage" Version="6.*" />
134134

135+
<!-- Accepts only version 6.1.0. -->
136+
<PackageReference Include="ExamplePackage" Version="[6.1.0]" />
137+
135138
<!-- Accepts any version above, but not including 4.1.3. Could be
136139
used to guarantee a dependency with a specific bug fix.
137140
Will resolve to the smallest acceptable stable version.-->

0 commit comments

Comments
 (0)