From b7f0aab5f6e4e4d0bd5d25fae16b222a4e2ee12e Mon Sep 17 00:00:00 2001 From: David Coulter Date: Thu, 5 Nov 2020 09:01:14 -0800 Subject: [PATCH 1/3] Links: .NET Desktop - net --- dotnet-desktop-guide/net/winforms/input-keyboard/overview.md | 2 +- dotnet-desktop-guide/net/wpf/index.yml | 4 ++-- .../net/wpf/migration/convert-project-from-net-framework.md | 4 ++-- dotnet-desktop-guide/net/wpf/overview/index.md | 2 +- dotnet-desktop-guide/net/wpf/toc.yml | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dotnet-desktop-guide/net/winforms/input-keyboard/overview.md b/dotnet-desktop-guide/net/winforms/input-keyboard/overview.md index d2ec35b488..75d8ae7c49 100644 --- a/dotnet-desktop-guide/net/winforms/input-keyboard/overview.md +++ b/dotnet-desktop-guide/net/winforms/input-keyboard/overview.md @@ -13,7 +13,7 @@ helpviewer_keywords: # Overview of using the keyboard (Windows Forms .NET) -In Windows Forms, user input is sent to applications in the form of [Windows messages](https://docs.microsoft.com/windows/win32/winmsg/about-messages-and-message-queues). A series of overridable methods process these messages at the application, form, and control level. When these methods receive keyboard messages, they raise events that can be handled to get information about the keyboard input. In many cases, Windows Forms applications will be able to process all user input simply by handling these events. In other cases, an application may need to override one of the methods that process messages in order to intercept a particular message before it is received by the application, form, or control. +In Windows Forms, user input is sent to applications in the form of [Windows messages](/windows/win32/winmsg/about-messages-and-message-queues). A series of overridable methods process these messages at the application, form, and control level. When these methods receive keyboard messages, they raise events that can be handled to get information about the keyboard input. In many cases, Windows Forms applications will be able to process all user input simply by handling these events. In other cases, an application may need to override one of the methods that process messages in order to intercept a particular message before it is received by the application, form, or control. [!INCLUDE [desktop guide under construction](../../includes/desktop-guide-preview-note.md)] diff --git a/dotnet-desktop-guide/net/wpf/index.yml b/dotnet-desktop-guide/net/wpf/index.yml index c960e26823..03a762e544 100644 --- a/dotnet-desktop-guide/net/wpf/index.yml +++ b/dotnet-desktop-guide/net/wpf/index.yml @@ -35,7 +35,7 @@ landingContent: - linkListType: tutorial links: - text: Create a WPF application - url: https://docs.microsoft.com/visualstudio/get-started/csharp/tutorial-wpf?toc=/dotnet/desktop-wpf/toc.json&bc=/dotnet/breadcrumb/toc.json + url: /visualstudio/get-started/csharp/tutorial-wpf?bc=%252fdotnet%252fbreadcrumb%252ftoc.json&toc=%252fdotnet%252fdesktop-wpf%252ftoc.json # Card - title: Fundamentals - XAML @@ -62,4 +62,4 @@ landingContent: - linkListType: overview links: - text: Data binding - url: data/data-binding-overview.md + url: data/data-binding-overview.md \ No newline at end of file diff --git a/dotnet-desktop-guide/net/wpf/migration/convert-project-from-net-framework.md b/dotnet-desktop-guide/net/wpf/migration/convert-project-from-net-framework.md index 866874f3e2..bbd3af5772 100644 --- a/dotnet-desktop-guide/net/wpf/migration/convert-project-from-net-framework.md +++ b/dotnet-desktop-guide/net/wpf/migration/convert-project-from-net-framework.md @@ -213,10 +213,10 @@ If you have many source files that would need to be excluded this way, you can d ### A brief aside on multi-pass compilers -After removing the offending file from the Bean Trader sample, you can re-build and will get four errors. Didn't you have one before? Why did the number of errors go up? The C# compiler is a [multi-pass compiler](https://docs.microsoft.com/archive/blogs/ericlippert/how-many-passes). This means that it goes through each source file twice. First, the compiler just looks at metadata and declarations in each source file and identifies any declaration-level problems. Those are the errors you've fixed. Then it goes through the code again to build the C# source into IL; those are the second set of errors that you're seeing now. +After removing the offending file from the Bean Trader sample, you can re-build and will get four errors. Didn't you have one before? Why did the number of errors go up? The C# compiler is a [multi-pass compiler](/archive/blogs/ericlippert/how-many-passes). This means that it goes through each source file twice. First, the compiler just looks at metadata and declarations in each source file and identifies any declaration-level problems. Those are the errors you've fixed. Then it goes through the code again to build the C# source into IL; those are the second set of errors that you're seeing now. > [!NOTE] -> The C# compiler does [more than just two passes](https://docs.microsoft.com/archive/blogs/ericlippert/how-many-passes), but the end result is that compiler errors for large code changes like this tend to come in two waves. +> The C# compiler does [more than just two passes](/archive/blogs/ericlippert/how-many-passes), but the end result is that compiler errors for large code changes like this tend to come in two waves. ### Third-party dependency fixes (Castle.Windsor) diff --git a/dotnet-desktop-guide/net/wpf/overview/index.md b/dotnet-desktop-guide/net/wpf/overview/index.md index 4c7c890560..63547b6291 100644 --- a/dotnet-desktop-guide/net/wpf/overview/index.md +++ b/dotnet-desktop-guide/net/wpf/overview/index.md @@ -140,6 +140,6 @@ Every framework-level element ( or Date: Thu, 5 Nov 2020 10:09:57 -0800 Subject: [PATCH 2/3] Update dotnet-desktop-guide/net/wpf/index.yml --- dotnet-desktop-guide/net/wpf/index.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet-desktop-guide/net/wpf/index.yml b/dotnet-desktop-guide/net/wpf/index.yml index 03a762e544..b2ca872981 100644 --- a/dotnet-desktop-guide/net/wpf/index.yml +++ b/dotnet-desktop-guide/net/wpf/index.yml @@ -62,4 +62,4 @@ landingContent: - linkListType: overview links: - text: Data binding - url: data/data-binding-overview.md \ No newline at end of file + url: data/data-binding-overview.md From 1438d4eb9b2568095a0f689c32324acfb75ba64c Mon Sep 17 00:00:00 2001 From: Andy De George <67293991+adegeo@users.noreply.github.com> Date: Thu, 5 Nov 2020 10:10:36 -0800 Subject: [PATCH 3/3] Update dotnet-desktop-guide/net/wpf/toc.yml --- dotnet-desktop-guide/net/wpf/toc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet-desktop-guide/net/wpf/toc.yml b/dotnet-desktop-guide/net/wpf/toc.yml index 93f5462769..fa9a9d5025 100644 --- a/dotnet-desktop-guide/net/wpf/toc.yml +++ b/dotnet-desktop-guide/net/wpf/toc.yml @@ -56,4 +56,4 @@ items: # - name: Publish a library to NuGet # href: publishing/create-nuget-package.md # - name: Publish to the Microsoft Store -# href: publishing/publish-microsoft-store.md \ No newline at end of file +# href: publishing/publish-microsoft-store.md