Skip to content

Commit 22354d0

Browse files
authored
Merge pull request #1739 from dutchmartin/master
Fix some quotes.
2 parents 12d6398 + 847369e commit 22354d0

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

docs/vs-2015/extensibility/creating-a-software-development-kit.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ A software development kit (SDK) is a collection of APIs that you can reference
5757
|DesignTime folder|Contains files that are needed only at pre-run/debugging time. These could include XML docs, libraries, headers, Toolbox design-time binaries, MSBuild artifacts, and so forth<br /><br /> XML docs would, ideally, be placed in the \DesignTime folder, but XML docs for references will continue to be placed alongside the reference file in Visual Studio. For example, the XML doc for a reference \References\\[config]\\[arch]\sample.dll will be \References\\[config]\\[arch]\sample.xml, and the localized version of that doc will be \References\\[config]\\[arch]\\[locale]\sample.xml.|
5858
|Configuration folder|There can be only three folders: debug, retail and CommonConfiguration. SDK authors can place their files under CommonConfiguration if the same set of SDK files should be consumed, regardless of the configuration that the SDK consumer will target.|
5959
|Architecture folder|Any supported architecture folder can exist. Visual Studio supports the following architectures: x86, x64, ARM, and neutral. Note: Win32 maps to x86, and AnyCPU maps to neutral.<br /><br /> MSBuild looks only under \CommonConfiguration\neutral for Platform SDKs.|
60-
|SDKManifest.xml|This file describes how Visual Studio should consume the SDK. Look at the SDK Manifest for [!INCLUDE[win81](../includes/win81-md.md)]:<br /><br /> `<FileList DisplayName = “Windows” PlatformIdentity = “Windows, version=8.1” TargetFramework = “.NET for Windows Store apps, version=v4.5.1; .NET Framework, version=v4.5.1” MinVSVersion = “14.0”> <File Reference = “Windows.winmd”> <ToolboxItems VSCategory = “Toolbox.Default” /> </File> </FileList>`<br /><br /> **DisplayName:** The value that the Object Browser displays in the Browse list.<br /><br /> **PlatformIdentity:** The existence of this attribute tells Visual Studio and MSBuild that the SDK is a platform SDK and that the references added from it shouldn't be copied locally.<br /><br /> **TargetFramework:** This attribute is used by Visual Studio to ensure that only projects that target the same Frameworks as specified in the value of this attribute can consume the SDK.<br /><br /> **MinVSVersion:** This attribute is used by Visual Studio to consume only the SDKs that apply to it.<br /><br /> **Reference:** This attribute must to be specified for only those references that contain controls. For information about how to specify whether a reference contains controls, see below.|
60+
|SDKManifest.xml|This file describes how Visual Studio should consume the SDK. Look at the SDK Manifest for [!INCLUDE[win81](../includes/win81-md.md)]:<br /><br /> `<FileList DisplayName = "Windows" PlatformIdentity = "Windows, version=8.1" TargetFramework = ".NET for Windows Store apps, version=v4.5.1; .NET Framework, version=v4.5.1" MinVSVersion = "14.0"> <File Reference = "Windows.winmd"> <ToolboxItems VSCategory = "Toolbox.Default" /> </File> </FileList>`<br /><br /> **DisplayName:** The value that the Object Browser displays in the Browse list.<br /><br /> **PlatformIdentity:** The existence of this attribute tells Visual Studio and MSBuild that the SDK is a platform SDK and that the references added from it shouldn't be copied locally.<br /><br /> **TargetFramework:** This attribute is used by Visual Studio to ensure that only projects that target the same Frameworks as specified in the value of this attribute can consume the SDK.<br /><br /> **MinVSVersion:** This attribute is used by Visual Studio to consume only the SDKs that apply to it.<br /><br /> **Reference:** This attribute must to be specified for only those references that contain controls. For information about how to specify whether a reference contains controls, see below.|
6161

6262
## <a name="ExtensionSDKs"></a> Extension SDKs
6363
The following sections describe what you need to do to deploy an extension SDK.
@@ -136,22 +136,22 @@ A software development kit (SDK) is a collection of APIs that you can reference
136136

137137
```
138138
<FileList>
139-
DisplayName = My SDK
140-
ProductFamilyName = My SDKs
141-
TargetFramework = .NETCore, version=v4.5.1; .NETFramework, version=v4.5.1
142-
MinVSVersion = 14.0
139+
DisplayName = "My SDK"
140+
ProductFamilyName = "My SDKs"
141+
TargetFramework = ".NETCore, version=v4.5.1; .NETFramework, version=v4.5.1"
142+
MinVSVersion = "14.0"
143143
MaxPlatformVersion = "8.1"
144144
AppliesTo = "WindowsAppContainer + WindowsXAML"
145-
SupportPrefer32Bit = True
146-
SupportedArchitectures = x86;x64;ARM
147-
SupportsMultipleVersions = Error
148-
CopyRedistToSubDirectory = “.”
149-
DependsOn = SDKB, version=2.0
150-
MoreInfo = http://msdn.microsoft.com/MySDK>
151-
<File Reference = MySDK.Sprint.winmd Implementation = XNASprintImpl.dll>
152-
<Registration Type = Flipper Implementation = XNASprintFlipperImpl.dll />
153-
<Registration Type = Flexer Implementation = XNASprintFlexerImpl.dll />
154-
<ToolboxItems VSCategory = Toolbox.Default />
145+
SupportPrefer32Bit = "True"
146+
SupportedArchitectures = "x86;x64;ARM"
147+
SupportsMultipleVersions = "Error"
148+
CopyRedistToSubDirectory = "."
149+
DependsOn = "SDKB, version=2.0"
150+
MoreInfo = "http://msdn.microsoft.com/MySDK">
151+
<File Reference = "MySDK.Sprint.winmd" Implementation = "XNASprintImpl.dll">
152+
<Registration Type = "Flipper" Implementation = "XNASprintFlipperImpl.dll" />
153+
<Registration Type = "Flexer" Implementation = "XNASprintFlexerImpl.dll" />
154+
<ToolboxItems VSCategory = "Toolbox.Default" />
155155
</File>
156156
</FileList>
157157
```
@@ -160,21 +160,21 @@ MoreInfo = “http://msdn.microsoft.com/MySDK”>
160160
161161
1. DisplayName: the value that appears in the Reference Manager, Solution Explorer, Object Browser, and other locations in the user interface for Visual Studio.
162162
163-
2. ProductFamilyName: The overall SDK product name. For example, the [!INCLUDE[winjs_long](../includes/winjs-long-md.md)] SDK is named Microsoft.WinJS.1.0 and Microsoft.WinJS.2.0, which belong to the same family of SDK products family, Microsoft.WinJS. This attribute allows Visual Studio and MSBuild to make that connection. If this attribute doesn’t exist, the SDK Name is used as the product family name.
163+
2. ProductFamilyName: The overall SDK product name. For example, the [!INCLUDE[winjs_long](../includes/winjs-long-md.md)] SDK is named "Microsoft.WinJS.1.0" and "Microsoft.WinJS.2.0", which belong to the same family of SDK products family, "Microsoft.WinJS". This attribute allows Visual Studio and MSBuild to make that connection. If this attribute doesn’t exist, the SDK Name is used as the product family name.
164164
165165
3. FrameworkIdentity: specifies a dependency on one or more Windows component libraries The value of this attribute is put into the consuming app’s manifest. This attribute is applicable only to Windows component libraries.
166166
167-
4. TargetFramework: specifies the SDKs that are available in the Reference Manager and the toolbox. This is a semicolon-delimited list of target framework monikers, for example .NET Framework, version=v2.0; .NET Framework, version=v4.5.1. If several versions of the same target framework are specified, the Reference Manager uses the lowest specified version for filtering purposes. For example, if .NET Framework, version=v2.0; .NET Framework, version=v4.5.1 is specified, Reference Manager will use .NET Framework, version=v2.0. If a specific target framework profile is specified, only that profile will be used by the Reference Manager for filtering purposes. For example, when Silverlight, version=v4.0, profile=WindowsPhone is specified, Reference Manager filters on only the Windows Phone profile; a project targeting the full Silverlight 4.0 Framework does not see the SDK in the Reference Manager.
167+
4. TargetFramework: specifies the SDKs that are available in the Reference Manager and the toolbox. This is a semicolon-delimited list of target framework monikers, for example ".NET Framework, version=v2.0; .NET Framework, version=v4.5.1". If several versions of the same target framework are specified, the Reference Manager uses the lowest specified version for filtering purposes. For example, if ".NET Framework, version=v2.0; .NET Framework, version=v4.5.1" is specified, Reference Manager will use ".NET Framework, version=v2.0". If a specific target framework profile is specified, only that profile will be used by the Reference Manager for filtering purposes. For example, when "Silverlight, version=v4.0, profile=WindowsPhone" is specified, Reference Manager filters on only the Windows Phone profile; a project targeting the full Silverlight 4.0 Framework does not see the SDK in the Reference Manager.
168168
169169
5. MinVSVersion: the minimum Visual Studio version.
170170
171171
6. MaxPlatformVerson: The maximum target platform version should be used to specify the platform versions on which your Extension SDK will not work. For example, the Microsoft Visual C++ Runtime Package v11.0 should be referenced only by Windows 8 projects. Thus, the Windows 8 project's MaxPlatformVersion is 8.0. This means that the Reference Manager filters out Microsoft Visual C++ Runtime Package for a Windows 8.1 project, and MSBuild throws an error when a [!INCLUDE[win81](../includes/win81-md.md)] project references it. Note: this element is supported starting in [!INCLUDE[vs_dev12](../includes/vs-dev12-md.md)].
172172
173-
7. AppliesTo: specifies the SDKs that are available in the Reference Manager by specifying applicable Visual Studio project types. Nine values are recognized: WindowsAppContainer, VisualC, VB, CSharp, WindowsXAML, JavaScript, Managed, and Native. The SDK author can use and (+’), or (&#124;), not (“!”) operators to specify exactly the scope of project types that apply to the SDK.
173+
7. AppliesTo: specifies the SDKs that are available in the Reference Manager by specifying applicable Visual Studio project types. Nine values are recognized: WindowsAppContainer, VisualC, VB, CSharp, WindowsXAML, JavaScript, Managed, and Native. The SDK author can use and ("+’), or ("&#124;"), not ("!") operators to specify exactly the scope of project types that apply to the SDK.
174174
175175
WindowsAppContainer identifies projects for [!INCLUDE[win8_appname_long](../includes/win8-appname-long-md.md)] apps.
176176
177-
8. SupportPrefer32Bit: Supported values are True and False. The default is "True". If the value is set to False, MSBuild returns an error for [!INCLUDE[win8_appname_long](../includes/win8-appname-long-md.md)] projects (or a warning for desktop projects) if the project that references the SDK has Prefer32Bit enabled. For more information about Prefer32Bit, see [Build Page, Project Designer (C#)](../ide/reference/build-page-project-designer-csharp.md) or [Compile Page, Project Designer (Visual Basic)](../ide/reference/compile-page-project-designer-visual-basic.md).
177+
8. SupportPrefer32Bit: Supported values are "True" and "False". The default is "True". If the value is set to "False", MSBuild returns an error for [!INCLUDE[win8_appname_long](../includes/win8-appname-long-md.md)] projects (or a warning for desktop projects) if the project that references the SDK has Prefer32Bit enabled. For more information about Prefer32Bit, see [Build Page, Project Designer (C#)](../ide/reference/build-page-project-designer-csharp.md) or [Compile Page, Project Designer (Visual Basic)](../ide/reference/compile-page-project-designer-visual-basic.md).
178178
179179
9. SupportedArchitectures: a semi-colon delimited list of architectures that the SDK supports. MSBuild displays a warning if the targeted SDK architecture in the consuming project isn't supported. If this attribute isn't specified, MSBuild never displays this type of warning.
180180
@@ -198,26 +198,26 @@ MoreInfo = “http://msdn.microsoft.com/MySDK”>
198198
1. Place controls in the toolbox default category.
199199
200200
```
201-
<File Reference = sample.winmd>
202-
<ToolboxItems VSCategory = Toolbox.Default/>
201+
<File Reference = "sample.winmd">
202+
<ToolboxItems VSCategory = "Toolbox.Default"/>
203203
</File>
204204
```
205205
206206
2. Place controls under a particular category name.
207207
208208
```
209-
<File Reference = sample.winmd>
210-
<ToolboxItems VSCategory= MyCategoryName/>
209+
<File Reference = "sample.winmd">
210+
<ToolboxItems VSCategory= "MyCategoryName"/>
211211
</File>
212212
```
213213
214214
3. Place controls under particular category names.
215215
216216
```
217-
<File Reference = sample.winmd>
218-
<ToolboxItems VSCategory = Graph>
217+
<File Reference = "sample.winmd">
218+
<ToolboxItems VSCategory = "Graph">
219219
<ToolboxItems/>
220-
<ToolboxItems VSCategory = Data>
220+
<ToolboxItems VSCategory = "Data">
221221
<ToolboxItems />
222222
</File>
223223
```
@@ -226,39 +226,39 @@ MoreInfo = “http://msdn.microsoft.com/MySDK”>
226226
227227
```
228228
// Blend accepts a slightly different structure for the category name because it allows a path rather than a single category.
229-
<File Reference = sample.winmd>
230-
<ToolboxItems VSCategory = Graph BlendCategory = Controls/sample/Graph>
229+
<File Reference = "sample.winmd">
230+
<ToolboxItems VSCategory = "Graph" BlendCategory = "Controls/sample/Graph">
231231
<ToolboxItems />
232232
</File>
233233
```
234234
235235
5. Enumerate specific controls differently in Blend and Visual Studio.
236236
237237
```
238-
<File Reference = sample.winmd>
239-
<ToolboxItems VSCategory = Graph>
238+
<File Reference = "sample.winmd">
239+
<ToolboxItems VSCategory = "Graph">
240240
<ToolboxItems/>
241-
<ToolboxItems BlendCategory = Controls/sample/Graph>
241+
<ToolboxItems BlendCategory = "Controls/sample/Graph">
242242
<ToolboxItems/>
243243
</File>
244244
```
245245
246246
6. Enumerate specific controls, and place them under the Visual Studio Common Path or only in the All Controls Group.
247247
248248
```
249-
<File Reference = sample.winmd>
250-
<ToolboxItems VSCategory = Toolbox.Common>
249+
<File Reference = "sample.winmd">
250+
<ToolboxItems VSCategory = "Toolbox.Common">
251251
<ToolboxItems />
252-
<ToolboxItems VSCategory = Toolbox.All>
252+
<ToolboxItems VSCategory = "Toolbox.All">
253253
<ToolboxItems />
254254
</File>
255255
```
256256
257257
7. Enumerate specific controls, and show only a specific set in ChooseItems without them being in the toolbox.
258258
259259
```
260-
<File Reference = sample.winmd>
261-
<ToolboxItems VSCategory = Toolbox.ChooseItemsOnly>
260+
<File Reference = "sample.winmd">
261+
<ToolboxItems VSCategory = "Toolbox.ChooseItemsOnly">
262262
<ToolboxItems />
263263
</File>
264264
```

0 commit comments

Comments
 (0)