Skip to content

Commit 84644eb

Browse files
authored
Merge pull request #4710 from andyarroyo5/patch-2
Resolved Issue Promote Flag #3141
2 parents 8973df8 + bf36565 commit 84644eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/extensibility/how-to-provide-an-asynchronous-visual-studio-service.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ public sealed class TestAsyncPackage : AsyncPackage
124124
}
125125

126126
```
127+
To make this service visible outside this package, set the promote flag value to *true* as the last parameter:
128+
`this.AddService(typeof(STextWriterService), CreateTextWriterService, true);`
127129

128130
2. Add a reference to *Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll*.
129131

0 commit comments

Comments
 (0)