From 4c720fbda1e2045848210bdc3634c54320fc1816 Mon Sep 17 00:00:00 2001 From: Andy De George <67293991+adegeo@users.noreply.github.com> Date: Tue, 2 Feb 2021 13:24:22 -0800 Subject: [PATCH] Fix migration refs related to EmbeddedResource (#195) --- dotnet-desktop-guide/net/winforms/migration/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotnet-desktop-guide/net/winforms/migration/index.md b/dotnet-desktop-guide/net/winforms/migration/index.md index e42343a..7f241d0 100644 --- a/dotnet-desktop-guide/net/winforms/migration/index.md +++ b/dotnet-desktop-guide/net/winforms/migration/index.md @@ -158,9 +158,9 @@ One thing to note about the difference between .NET Framework projects and the S Windows Forms projects also include Windows Form project specific files, such as _Properties/Settings.settings_ and _Properties/Resources.resx_. These files may need to be migrated they are declared in your original project. -Copy those entries from the old project file into an `` element in the new project. After you copy the entries, change any `` or `` elements to instead use `Update` instead of `Include`. +Copy those entries from the old project file into an `` element in the new project. After you copy the entries, change all `` elements to instead use the `Update` attribute instead of `Include`. -- Import the configuration for the _Settings.settings_ file. Notice that the `` entry's `Update` attribute was changed from `Include` to `Update` because code files are already included: +- Import the configuration for the _Settings.settings_ file. ```xml @@ -181,7 +181,7 @@ Copy those entries from the old project file into an `` element in th > [!IMPORTANT] > **Visual Basic** projects typically use the folder _My Project_ while C# projects typically use the folder _Properties_ for the default project settings file. -- Import the configuration for any _resx_ file, such as the _properties/Resources.resx_ file. Notice that the `Include` was changed to `Update` on both the `` and `` elements, and `` was removed from ``: +- Import the configuration for any _resx_ file, such as the _properties/Resources.resx_ file. Notice that the `Include` attribute was changed to `Update` on the `` element, and `` was removed from ``: ```xml