Skip to content

Commit a08815f

Browse files
authored
Merge pull request #3566 from drewnoakes/patch-9
Make specification of SDK version clearer
2 parents b974f0e + 65635f5 commit a08815f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/msbuild/how-to-use-project-sdk.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,15 @@ During evaluation of the project, [!INCLUDE[vstecmsbuild](../extensibility/inter
5050
</Project>
5151
```
5252

53-
An implicit import is added to the top and bottom of the project as discussed above. The format of the `Sdk` attribute is `Name[/Version]` where Version is optional. For example, you can specify `My.Custom.Sdk/1.2.3`.
53+
An implicit import is added to the top and bottom of the project as discussed above.
54+
55+
To specify a specific version of the SDK you may append it to the `Sdk` attribute:
56+
57+
```xml
58+
<Project Sdk="My.Custom.Sdk/1.2.3">
59+
...
60+
</Project>
61+
```
5462

5563
> [!NOTE]
5664
> This is currently the only supported way to reference a project SDK in Visual Studio for Mac.

0 commit comments

Comments
 (0)