Skip to content

Commit 15d825d

Browse files
committed
Merge branch 'main' into alvinashcraft/main-winappsdk-background-tasks
2 parents 21ef5ee + f8e37ed commit 15d825d

File tree

15 files changed

+282
-95
lines changed

15 files changed

+282
-95
lines changed

hub/apps/desktop/modernize/modernize-wpf-tutorial-1.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: RS5, 19H1
1111
# Part 1: Migrate the Contoso Expenses app to .NET Core 3
1212

1313
This is the first part of a tutorial that demonstrates how to modernize a sample WPF desktop app named Contoso Expenses. For an overview of the tutorial, prerequisites, and instructions for downloading the sample app, see [Tutorial: Modernize a WPF app](modernize-wpf-tutorial.md).
14-
14+
1515
In this part of the tutorial, you will migrate the entire Contoso Expenses app from the .NET Framework 4.7.2 to [.NET Core 3](modernize-wpf-tutorial.md#net-core-3). Before you start this part of the tutorial, make sure you [open and build the ContosoExpenses sample](modernize-wpf-tutorial.md#get-the-contoso-expenses-sample-app) in Visual Studio 2019.
1616

1717
> [!NOTE]
@@ -57,7 +57,7 @@ The **ContosoExpenses.Core.csproj** includes the following elements:
5757

5858
## Migrate the ContosoExpenses.Data project to .NET Standard
5959

60-
The **ContosoExpenses** solution includes a **ContosoExpenses.Data** class library that contains models and interfaces for services and targets .NET 4.7.2. .NET Core 3.0 apps can use .NET Framework libraries, as long as they don't use APIs which aren't available in .NET Core. However, the best modernization path is to move your libraries to .NET Standard. This will make sure that your library is fully supported by your .NET Core 3.0 app. Additionally, you can reuse the library also with other platforms, such as web (through ASP.NET Core) and mobile (through Xamarin).
60+
The **ContosoExpenses** solution includes a **ContosoExpenses.Data** class library that contains models and interfaces for services and targets .NET 4.7.2. .NET Core 3.0 apps can use .NET Framework libraries, as long as they don't use APIs which aren't available in .NET Core. However, the best modernization path is to move your libraries to .NET Standard. This will make sure that your library is fully supported by your .NET Core 3.0 app. Additionally, you can reuse the library also with other platforms, such as web (through ASP.NET Core).
6161

6262
To migrate the **ContosoExpenses.Data** project to .NET Standard:
6363

@@ -221,7 +221,7 @@ If you now try to compile the **ContosoExpenses.Core** and **ContosoExpenses.Dat
221221

222222
These errors are a result of converting the **ContosoExpenses.Data** project from a .NET Framework library (which is specific for Windows) to a .NET Standard library, which can run on multiple platforms including Linux, Android, iOS, and more. The **ContosoExpenses.Data** project contains a class called **RegistryService**, which interacts with the registry, a Windows-only concept.
223223

224-
To resolve these errors, install the [Windows Compatibility](https://www.nuget.org/packages/Microsoft.Windows.Compatibility) NuGet package. This package provides support for many Windows-specific APIs to be used in a .NET Standard library. The library will no longer be cross-platform after using this package, but it will still target .NET Standard.
224+
To resolve these errors, install the [Windows Compatibility](https://www.nuget.org/packages/Microsoft.Windows.Compatibility) NuGet package. This package provides support for many Windows-specific APIs to be used in a .NET Standard library. The library will no longer be cross-platform after using this package, but it will still target .NET Standard.
225225

226226
1. Right-click on the **ContosoExpenses.Data** project.
227227
2. Choose **Manage NuGet Packages**.
@@ -274,4 +274,4 @@ Now that the projects are building successfully, you are ready to run and test t
274274
At this point in the tutorial, you have successfully migrated the Contoso Expenses app to .NET Core 3. You are now ready for [Part 2: Add a UWP InkCanvas control using XAML Islands](modernize-wpf-tutorial-2.md).
275275

276276
> [!NOTE]
277-
> If you have a high resolution screen, you may notice that the app looks very small. You'll address this problem in the next step of the tutorial.
277+
> If you have a high resolution screen, you may notice that the app looks very small. You'll address this problem in the next step of the tutorial.

hub/apps/develop/launch/launch-screen-snipping.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ ms.localizationpriority: medium
88
# customer-intent: As a Windows developer, I want to learn about the ms-screenclip and ms-screensketch URI schemes so that I can use them to launch the Snip & Sketch app or to open a new snip.
99
---
1010

11-
# Launch screen snipping
11+
# Launch screen snipping (Legacy)
12+
13+
**This is a legacy method for activating the Snipping Tool. It will be deprecated on 05/01/2025. Please refer to the updated documentation: [Launch Snipping Tool](launch-snipping-tool.md).
1214

1315
The **ms-screenclip:** and **ms-screensketch:** URI schemes allows you to initiate snipping or editing screenshots.
1416

0 commit comments

Comments
 (0)