Skip to content

Commit 01b34f2

Browse files
authored
Merge pull request #4990 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to master to sync with https://github.com/MicrosoftDocs/visualstudio-docs (branch master)
2 parents 795c065 + a08815f commit 01b34f2

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
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.

docs/msbuild/msbuild-transforms.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,16 @@ For example, if the items in the @(RESXFile) item list are *Form1.resx*, *Form2.
8787

8888
```
8989
rootdir: C:\
90-
fullpath: C:\xmake\sub1\sub2\sub3\myfile.xsd
91-
rootdir + directory + filename + extension: C:\xmake\sub1\sub2\sub3\myfile.xsd
90+
fullpath: C:\sub0\sub1\sub2\sub3\myfile.xsd
91+
rootdir + directory + filename + extension: C:\sub0\sub1\sub2\sub3\myfile.xsd
9292
identity: sub1\sub2\sub3\myfile.xsd
9393
filename: myfile
94-
directory: xmake\sub1\sub2\sub3\
94+
directory: sub0\sub1\sub2\sub3\
9595
relativedir: sub1\sub2\sub3\
9696
extension: .xsd
9797
```
9898

9999
## See also
100100
- [MSBuild concepts](../msbuild/msbuild-concepts.md)
101101
- [MSBuild reference](../msbuild/msbuild-reference.md)
102-
- [How to: Build incrementally](../msbuild/how-to-build-incrementally.md)
102+
- [How to: Build incrementally](../msbuild/how-to-build-incrementally.md)

0 commit comments

Comments
 (0)