Skip to content

Commit 92ad5d7

Browse files
author
Ron Petrusha
authored
Revised for .NET Core, .NET Framework, UWP (#2432)
1 parent 12fc72e commit 92ad5d7

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

xml/System.Resources/MissingManifestResourceException.xml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@
4949
5050
## Remarks
5151
52-
## Desktop Apps
53-
In desktop apps, <xref:System.Resources.MissingManifestResourceException> is thrown when the attempt to retrieve a resource fails because the resource set for the neutral culture could not be loaded from a particular assembly. Although the exception is thrown when you try to retrieve a particular resource, it is caused by the failure to load the resource set rather than the failure to find the resource.
52+
## .NET apps
53+
54+
In .NET Framework and .NET Core apps, <xref:System.Resources.MissingManifestResourceException> is thrown when the attempt to retrieve a resource fails because the resource set for the neutral culture could not be loaded from a particular assembly. Although the exception is thrown when you try to retrieve a particular resource, it is caused by the failure to load the resource set rather than the failure to find the resource.
5455
5556
> [!NOTE]
5657
> For additional information, see the "Handling a MissingManifestResourceException Exception" section in the <xref:System.Resources.ResourceManager> class topic.
@@ -77,12 +78,13 @@
7778
> [!NOTE]
7879
> We recommend that you include a neutral set of resources in your main assembly, so your app won't fail if a satellite assembly is unavailable.
7980
80-
## [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] Apps
81-
Unlike desktop apps, which deploy localized resources in satellite assemblies and typically store the resources of the neutral culture in the main assembly, [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] apps deploy resources for multiple cultures, including the neutral culture, in a single package resource index (.pri) file. As a result, in a [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] app, if resources for the preferred culture cannot be found, the <xref:System.Resources.MissingManifestResourceException> is thrown under either of the following conditions:
81+
## Universal Windows Platform (UWP) apps
82+
83+
UWP apps deploy resources for multiple cultures, including the neutral culture, in a single package resource index (.pri) file. As a result, in a UWP app, if resources for the preferred culture cannot be found, the <xref:System.Resources.MissingManifestResourceException> is thrown under either of the following conditions:
8284
83-
- The app does not include a .pri file or the .pri file could not be opened.
85+
- The app does not include a .pri file, or the .pri file could not be opened.
8486
85-
- The app's .pri file does not contain a resource set for the given root name.
87+
- The app's .pri file does not contain a resource set for the given root name.
8688
8789
]]></format>
8890
</remarks>

0 commit comments

Comments
 (0)