Skip to content

Commit 44869ec

Browse files
authored
Update Consuming.md (microsoft#631)
1 parent f2094a2 commit 44869ec

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

powershell/Docs/Consuming.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ or install a specific version:
1717
Save-Module -Name VstsTaskSdk -Path .\ -RequiredVersion 0.7.0
1818
```
1919

20+
Using the Save-Module Cmdlet creates a Folder structure like this
21+
```
22+
VstsTaskSdk
23+
└───<Version>
24+
[...]
25+
VstsTaskSdk.psd1
26+
```
27+
you need to manually adjust it to resemble the structure shown in the [Package the SDK with the task](#package-the-sdk-with-the-task) section. That means you need to move the content of the version Folder one directory up.
28+
2029
## task.json modifications
2130
Use the `PowerShell3` execution handler and set the target to the entry PS1 script. The entry PS1 script should be located in the root of the task folder.
2231
```JSON

0 commit comments

Comments
 (0)