From e851f586025b233c5cd07de6b9ebb791902388a1 Mon Sep 17 00:00:00 2001 From: Rageking8 <106309953+Rageking8@users.noreply.github.com> Date: Mon, 7 Jul 2025 23:35:49 +0800 Subject: [PATCH 1/2] Add "Remarks" heading for error references in range [C1250, C1260] --- docs/code-quality/c1250.md | 2 ++ docs/code-quality/c1251.md | 2 ++ docs/code-quality/c1252.md | 2 ++ docs/code-quality/c1253.md | 2 ++ docs/code-quality/c1254.md | 2 ++ docs/code-quality/c1255.md | 2 ++ docs/code-quality/c1256.md | 2 ++ docs/code-quality/c1257.md | 2 ++ docs/code-quality/c1258.md | 2 ++ docs/code-quality/c1259.md | 2 ++ docs/code-quality/c1260.md | 2 ++ 11 files changed, 22 insertions(+) diff --git a/docs/code-quality/c1250.md b/docs/code-quality/c1250.md index 26582cfe00..7b9de9fdfd 100644 --- a/docs/code-quality/c1250.md +++ b/docs/code-quality/c1250.md @@ -10,4 +10,6 @@ ms.assetid: 3f2385d7-e0d6-4574-8cea-342e82d0aea4 > Unable to load plug-in '*plugin-name*'. +## Remarks + The Code Analysis tool reports this error when there's an internal error in the plugin, not in the code being analyzed. diff --git a/docs/code-quality/c1251.md b/docs/code-quality/c1251.md index ca58d7858b..c8273525e4 100644 --- a/docs/code-quality/c1251.md +++ b/docs/code-quality/c1251.md @@ -10,4 +10,6 @@ ms.assetid: 0b46e0a5-c290-48d8-ba4e-f526ae68993b > Unable to load models. +## Remarks + The Code Analysis tool reports this error when there's an internal error in the model file, not in the code being analyzed. diff --git a/docs/code-quality/c1252.md b/docs/code-quality/c1252.md index 4cdf0a1612..a7cee6c377 100644 --- a/docs/code-quality/c1252.md +++ b/docs/code-quality/c1252.md @@ -10,6 +10,8 @@ ms.assetid: e88bf199-890d-4582-bb5c-c1238797145b > Circular or missing dependency between plugins: '*plugin-name*' requires GUID '*globally-unique-identifier*' +## Remarks + The Code Analysis tool reports this error when there's an internal error in the plugin dependencies. It's not caused by an issue in the code being analyzed. In some cases, it's possible to work around this issue by disabling the **Enable Code Analysis on Build** property. To disable this build property, open the Property pages dialog for your project. In the **Solution Explorer** window, right-click on the project (not the solution) and select **Properties** in the shortcut menu. Set the **Configuration** to **All Configurations** and the **Platform** to **All Platforms**. Open the **Configuration Properties** > **Code Analysis** > **General** property page. Modify the **Enable Code Analysis on Build** property to **No**. Choose **OK** to save your changes, and then save your project files. Rebuild your project to verify that the issue no longer occurs. diff --git a/docs/code-quality/c1253.md b/docs/code-quality/c1253.md index 3276546314..771f812af7 100644 --- a/docs/code-quality/c1253.md +++ b/docs/code-quality/c1253.md @@ -10,4 +10,6 @@ ms.assetid: 21a4062f-fde8-40e5-8dbd-6f892926d3d2 > Unable to load model file. +## Remarks + The Code Analysis tool reports this error when there's an internal error in the model file, not in the code being analyzed. diff --git a/docs/code-quality/c1254.md b/docs/code-quality/c1254.md index e584d07eee..da34273c59 100644 --- a/docs/code-quality/c1254.md +++ b/docs/code-quality/c1254.md @@ -10,4 +10,6 @@ ms.assetid: cb1377cf-869e-432d-941f-71f77134f97a > Plugin version mismatch: '*module*' version '*version-number*' doesn't match the version '*version-number*' of the PREfast driver +## Remarks + The Code Analysis tool reports this error when there's an internal error with the plugin version, not in the code being analyzed. diff --git a/docs/code-quality/c1255.md b/docs/code-quality/c1255.md index 9480c693e1..6f5f67402d 100644 --- a/docs/code-quality/c1255.md +++ b/docs/code-quality/c1255.md @@ -10,4 +10,6 @@ ms.assetid: a97da6bd-06dc-42bf-9158-0de1ebb90d4a > PCH data for plugin '*plugin-name*' has incorrect length. +## Remarks + The Code Analysis tool reports this error when there's an internal error in the tool, not in the code being analyzed. diff --git a/docs/code-quality/c1256.md b/docs/code-quality/c1256.md index 54a456fa9e..1ca7c0e06f 100644 --- a/docs/code-quality/c1256.md +++ b/docs/code-quality/c1256.md @@ -10,4 +10,6 @@ ms.assetid: 4d65e495-f9d9-435c-ba51-1cf5b4cc2309 > '*plugin-name*': PCH must be both written and read. +## Remarks + The Code Analysis tool reports this error when there's an internal error in the tool, not in the code being analyzed. diff --git a/docs/code-quality/c1257.md b/docs/code-quality/c1257.md index c104af70b7..f44c5425c9 100644 --- a/docs/code-quality/c1257.md +++ b/docs/code-quality/c1257.md @@ -10,4 +10,6 @@ ms.assetid: 38d3ec05-01ba-42b3-aac6-077e92bf2ded > '*Plugin-name*': Initialization Failure. +## Remarks + The Code Analysis tool reports this error when there's an internal error in the plugin, not in the code being analyzed. diff --git a/docs/code-quality/c1258.md b/docs/code-quality/c1258.md index accca5c1d8..53b0dd5e7f 100644 --- a/docs/code-quality/c1258.md +++ b/docs/code-quality/c1258.md @@ -9,4 +9,6 @@ helpviewer_keywords: ["C1258"] > Failed to save XML Log file '*filename*'. *Message*. +## Remarks + The Code Analysis tool reports this error when there's an internal error in the plugin, not in the code being analyzed. diff --git a/docs/code-quality/c1259.md b/docs/code-quality/c1259.md index 0d22874e87..3772980b6c 100644 --- a/docs/code-quality/c1259.md +++ b/docs/code-quality/c1259.md @@ -9,4 +9,6 @@ helpviewer_keywords: ["C1259"] > A fatal error was issued by a plugin. +## Remarks + The Code Analysis tool reports this error when there's an internal error in the plugin, not in the code being analyzed. diff --git a/docs/code-quality/c1260.md b/docs/code-quality/c1260.md index 6cf3642c1d..1b069d2c98 100644 --- a/docs/code-quality/c1260.md +++ b/docs/code-quality/c1260.md @@ -9,4 +9,6 @@ helpviewer_keywords: ["C1260"] > The plugins '*plugin-1*' and '*plugin-2*' share the same id. It is not supported to load the same plugin twice. +## Remarks + The Code Analysis tool reports this error when there's an internal error in the plugin, not in the code being analyzed. From aa0c28ab2ba0ea09cca730352dc43e839ca183e0 Mon Sep 17 00:00:00 2001 From: Rageking8 <106309953+Rageking8@users.noreply.github.com> Date: Mon, 7 Jul 2025 23:39:33 +0800 Subject: [PATCH 2/2] Update metadata for error references in range [C1250, C1260] --- docs/code-quality/c1250.md | 3 +-- docs/code-quality/c1251.md | 3 +-- docs/code-quality/c1252.md | 3 +-- docs/code-quality/c1253.md | 3 +-- docs/code-quality/c1254.md | 3 +-- docs/code-quality/c1255.md | 3 +-- docs/code-quality/c1256.md | 3 +-- docs/code-quality/c1257.md | 3 +-- docs/code-quality/c1258.md | 2 +- docs/code-quality/c1259.md | 2 +- docs/code-quality/c1260.md | 2 +- 11 files changed, 11 insertions(+), 19 deletions(-) diff --git a/docs/code-quality/c1250.md b/docs/code-quality/c1250.md index 7b9de9fdfd..593bf2fe4d 100644 --- a/docs/code-quality/c1250.md +++ b/docs/code-quality/c1250.md @@ -1,10 +1,9 @@ --- +title: "Fatal error C1250" description: "Learn more about: Fatal error C1250" -title: Fatal error C1250 ms.date: 10/04/2022 f1_keywords: ["C1250", "FATALERROR_UnableToLoadPlugin"] helpviewer_keywords: ["C1250"] -ms.assetid: 3f2385d7-e0d6-4574-8cea-342e82d0aea4 --- # Fatal error C1250 diff --git a/docs/code-quality/c1251.md b/docs/code-quality/c1251.md index c8273525e4..369f49e98e 100644 --- a/docs/code-quality/c1251.md +++ b/docs/code-quality/c1251.md @@ -1,10 +1,9 @@ --- +title: "Fatal error C1251" description: "Learn more about: Fatal error C1251" -title: Fatal error C1251 ms.date: 10/04/2022 f1_keywords: ["C1251", "FATALERROR_UnableToLoadModel"] helpviewer_keywords: ["C1251"] -ms.assetid: 0b46e0a5-c290-48d8-ba4e-f526ae68993b --- # Fatal error C1251 diff --git a/docs/code-quality/c1252.md b/docs/code-quality/c1252.md index a7cee6c377..3e679ec2d3 100644 --- a/docs/code-quality/c1252.md +++ b/docs/code-quality/c1252.md @@ -1,10 +1,9 @@ --- +title: "Fatal error C1252" description: "Learn more about: Fatal error C1252" -title: Fatal error C1252 ms.date: 10/04/2022 f1_keywords: ["C1252", "FATALERROR_CircularDependency"] helpviewer_keywords: ["C1252"] -ms.assetid: e88bf199-890d-4582-bb5c-c1238797145b --- # Fatal error C1252 diff --git a/docs/code-quality/c1253.md b/docs/code-quality/c1253.md index 771f812af7..568be82155 100644 --- a/docs/code-quality/c1253.md +++ b/docs/code-quality/c1253.md @@ -1,10 +1,9 @@ --- +title: "Fatal error C1253" description: "Learn more about: Fatal error C1253" -title: Fatal error C1253 ms.date: 10/04/2022 f1_keywords: ["C1253", "FATALERROR_UnableToLoadModelFile"] helpviewer_keywords: ["C1253"] -ms.assetid: 21a4062f-fde8-40e5-8dbd-6f892926d3d2 --- # Fatal error C1253 diff --git a/docs/code-quality/c1254.md b/docs/code-quality/c1254.md index da34273c59..b77f3f40da 100644 --- a/docs/code-quality/c1254.md +++ b/docs/code-quality/c1254.md @@ -1,10 +1,9 @@ --- +title: "Fatal error C1254" description: "Learn more about: Fatal error C1254" -title: Fatal error C1254 ms.date: 10/04/2022 f1_keywords: ["C1254", "FATALERROR_PluginVersionMismatch"] helpviewer_keywords: ["C1254"] -ms.assetid: cb1377cf-869e-432d-941f-71f77134f97a --- # Fatal error C1254 diff --git a/docs/code-quality/c1255.md b/docs/code-quality/c1255.md index 6f5f67402d..1f3b9d92e5 100644 --- a/docs/code-quality/c1255.md +++ b/docs/code-quality/c1255.md @@ -1,10 +1,9 @@ --- +title: "Fatal error C1255" description: "Learn more about: Fatal error C1255" -title: Fatal error C1255 ms.date: 10/04/2022 f1_keywords: ["C1255", "FATALERROR_PCHSyncLost"] helpviewer_keywords: ["C1255"] -ms.assetid: a97da6bd-06dc-42bf-9158-0de1ebb90d4a --- # Fatal error C1255 diff --git a/docs/code-quality/c1256.md b/docs/code-quality/c1256.md index 1ca7c0e06f..bdf7af0eff 100644 --- a/docs/code-quality/c1256.md +++ b/docs/code-quality/c1256.md @@ -1,10 +1,9 @@ --- +title: "Fatal error C1256" description: "Learn more about: Fatal error C1256" -title: Fatal error C1256 ms.date: 10/04/2022 f1_keywords: ["C1256", "FATALERROR_PCHInconsistent"] helpviewer_keywords: ["C1256"] -ms.assetid: 4d65e495-f9d9-435c-ba51-1cf5b4cc2309 --- # Fatal error C1256 diff --git a/docs/code-quality/c1257.md b/docs/code-quality/c1257.md index f44c5425c9..b4e698c29b 100644 --- a/docs/code-quality/c1257.md +++ b/docs/code-quality/c1257.md @@ -1,10 +1,9 @@ --- +title: "Fatal error C1257" description: "Learn more about: Fatal error C1257" -title: Fatal error C1257 ms.date: 10/04/2022 f1_keywords: ["C1257", "FATALERROR_InitFailure"] helpviewer_keywords: ["C1257"] -ms.assetid: 38d3ec05-01ba-42b3-aac6-077e92bf2ded --- # Fatal error C1257 diff --git a/docs/code-quality/c1258.md b/docs/code-quality/c1258.md index 53b0dd5e7f..46de1a74a7 100644 --- a/docs/code-quality/c1258.md +++ b/docs/code-quality/c1258.md @@ -1,6 +1,6 @@ --- +title: "Fatal error C1258" description: "Learn more about: Fatal error C1258" -title: Fatal error C1258 ms.date: 10/04/2022 f1_keywords: ["C1258", "FATALERROR_SaveToXmlFailed"] helpviewer_keywords: ["C1258"] diff --git a/docs/code-quality/c1259.md b/docs/code-quality/c1259.md index 3772980b6c..0dd892f8ae 100644 --- a/docs/code-quality/c1259.md +++ b/docs/code-quality/c1259.md @@ -1,6 +1,6 @@ --- +title: "Fatal error C1259" description: "Learn more about: Fatal error C1259" -title: Fatal error C1259 ms.date: 10/04/2022 f1_keywords: ["C1259", "FATALERROR_FatalError"] helpviewer_keywords: ["C1259"] diff --git a/docs/code-quality/c1260.md b/docs/code-quality/c1260.md index 1b069d2c98..8142771589 100644 --- a/docs/code-quality/c1260.md +++ b/docs/code-quality/c1260.md @@ -1,6 +1,6 @@ --- +title: "Fatal error C1260" description: "Learn more about: Fatal error C1260" -title: Fatal error C1260 ms.date: 10/04/2022 f1_keywords: ["C1260", "FATALERROR_DuplicateId"] helpviewer_keywords: ["C1260"]