Skip to content

Commit 0390d61

Browse files
authored
Updating sample references in preparation for breaking changes in the sample folders (#5403)
Switched to an existing short URL which I will update on the backend once the updated samples are published.
1 parent 4c96a79 commit 0390d61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hub/apps/desktop/modernize/grant-identity-to-nonpackaged-apps.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ Note the below important details about this code:
149149
* Set `externalLocation` to the absolute path of your application's installation directory (without any executable names)
150150
* Set `packagePath` to the absolute path of the identity package produced in the previous step (with the file name)
151151

152-
For a complete example including unregistering the package on uninstall, see [`StartUp.cs`](https://github.com/microsoft/AppModelSamples/blob/0c019d835d194dfc65ee0c0663086582d48165a9/Samples/SparsePackages/PhotoStoreDemo/StartUp.cs#L146-L220).
152+
For production-ready code in C# and C++, see [Sample apps](#sample-apps) below. The samples also demonstrate how to unregister the identity package on uninstall.
153153

154-
## Sample app
154+
## Sample apps
155155

156-
See the [SparsePackages](https://github.com/microsoft/AppModelSamples/tree/master/Samples/SparsePackages) sample for a fully functional sample app that demonstrates how to grant package identity to a desktop app by registering an identity package.
156+
See the [PackageWithExternalLocation](https://aka.ms/sparsepkgsample) samples for fully functional C# and C++ apps that demonstrate how to register an identity package.

0 commit comments

Comments
 (0)