Skip to content

Make specification of SDK version clearer #3566

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docs/msbuild/how-to-use-project-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,15 @@ During evaluation of the project, [!INCLUDE[vstecmsbuild](../extensibility/inter
</Project>
```

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`.
An implicit import is added to the top and bottom of the project as discussed above.

To specify a specific version of the SDK you may append it to the `Sdk` attribute:

```xml
<Project Sdk="My.Custom.Sdk/1.2.3">
...
</Project>
```

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