Skip to content

Commit 59ce7fa

Browse files
committed
Make MS URL's language agnostic
1 parent 0887e20 commit 59ce7fa

19 files changed

+32
-32
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
![.NET project file analyzers logo](design/logo_128x128.png)
22
# .NET project file analyzers
33
is a [NuGet](https://www.nuget.org/packages/DotNetProjectFile.Analyzers/) package
4-
containing [Roslyn](https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/)
5-
(static code) [analyzers](https://docs.microsoft.com/en-us/dotnet/api/microsoft.codeanalysis.diagnostics.diagnosticanalyzer)
4+
containing [Roslyn](https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/)
5+
(static code) [analyzers](https://docs.microsoft.com/dotnet/api/microsoft.codeanalysis.diagnostics.diagnosticanalyzer)
66
that report issues on .NET project files.
77

88
The documentation reflects the current repository state of the features, not the

general/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ file. Unfortunately, changing the severity (and other configuration) of rules
1313
in the `.editorconfig` is [**NOT** supported by MS Build](https://github.com/dotnet/roslyn/issues/37876).
1414

1515
## Global analyzer config
16-
It is also possible to configure rules using a [Global AnalyzerConfig](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/configuration-files#global-analyzerconfig)
16+
It is also possible to configure rules using a [Global AnalyzerConfig](https://learn.microsoft.com/dotnet/fundamentals/code-analysis/configuration-files#global-analyzerconfig)
1717
`.globalconfig` file located in the same directory as the project file or in
1818
one of its (grand)parent directories. The following `.globalconfig` file will
1919
disable rule `Proj0010` and raise `Proj0011` to error level:

rules/Proj0017.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ancestor: MSBuild
66
# Proj0017: Can't create alias for static using directive
77
`<Using>` nodes can not be both marked as `Static` and be an `Alias`.
88
For more info
9-
[see](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/using-directive-errors?f1url=%3FappId%3Droslyn%26k%3Dk(CS8085)#restrictions-on-using-aliases).
9+
[see](https://learn.microsoft.com/dotnet/csharp/language-reference/compiler-messages/using-directive-errors?f1url=%3FappId%3Droslyn%26k%3Dk(CS8085)#restrictions-on-using-aliases).
1010

1111
## Non-compliant
1212
``` xml

rules/Proj0032.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ancestor: MSBuild
55

66
# Proj0032: Migrate away from BinaryFormatter
77
Starting with .NET 9, Microsoft no longer includes an implementation of
8-
`BinaryFormatter` in the runtime (it has [been deprecated](https://learn.microsoft.com/en-us/dotnet/core/compatibility/serialization/5.0/binaryformatter-serialization-obsolete)
8+
`BinaryFormatter` in the runtime (it has [been deprecated](https://learn.microsoft.com/dotnet/core/compatibility/serialization/5.0/binaryformatter-serialization-obsolete)
99
with the release of .NET 5). The APIs are still present, but their
1010
implementation always throws an exception, regardless of project type.
1111

@@ -14,7 +14,7 @@ to use `BinaryFormatter` with .NET 9, as is explained in [this blog post](https:
1414

1515
Due to the fact that Microsoft discourages the usage as strongly as they
1616
can, this rule reports violations for all target frameworks, and
17-
also when used in combination with [System.Runtime.Serialization.Formatters](https://learn.microsoft.com/en-us/dotnet/standard/serialization/binaryformatter-migration-guide/compatibility-package).
17+
also when used in combination with [System.Runtime.Serialization.Formatters](https://learn.microsoft.com/dotnet/standard/serialization/binaryformatter-migration-guide/compatibility-package).
1818

1919
## Non-compliant
2020
``` xml

rules/Proj0042.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ancestor: MSBuild
44
---
55

66
# Proj0042: Enable &lt;ContinuousIntegrationBuild&gt; when running in CI pipeline
7-
Setting `ContinuousIntegrationBuild` to `true` [ensures (file) paths are normalized](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#continuousintegrationbuild)
7+
Setting `ContinuousIntegrationBuild` to `true` [ensures (file) paths are normalized](https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props#continuousintegrationbuild)
88
and furthermore can help other external tools with detecting whether a build
99
is being performed in a continuous integration (CI) pipeline, such as for [Proj0044](./Proj0044.md).
1010

rules/Proj0240.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ of the API surface of your package, it is advised
99
to enable package validation by defining the
1010
`<EnablePackageValidation>` node with value `true`.
1111

12-
More information can be found [here](https://learn.microsoft.com/en-us/dotnet/fundamentals/apicompat/package-validation/overview).
12+
More information can be found [here](https://learn.microsoft.com/dotnet/fundamentals/apicompat/package-validation/overview).
1313

1414
## Non-compliant
1515
``` xml

rules/Proj0241.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ to enable package baseline validation by defining the
1010
`<PackageValidationBaselineVersion>` node with the version
1111
of the previous stable release.
1212

13-
More information can be found [here](https://learn.microsoft.com/en-us/dotnet/fundamentals/apicompat/package-validation/baseline-version-validator).
13+
More information can be found [here](https://learn.microsoft.com/dotnet/fundamentals/apicompat/package-validation/baseline-version-validator).
1414

1515
## Non-compliant
1616
``` xml

rules/Proj0244.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ancestor: Rules
77
In order for code documentation to be visible for package consumers
88
it is important that the documentation is generated.
99
This can either be done by using the
10-
[`<GenerateDocumentationFile>`](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#generatedocumentationfile)
11-
or the [`<DocumentationFile>`](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#documentationfile)
10+
[`<GenerateDocumentationFile>`](https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props#generatedocumentationfile)
11+
or the [`<DocumentationFile>`](https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props#documentationfile)
1212
tags.
1313

1414
This requires _either_ `<GenerateDocumentationFile>` to be set to `true`,
@@ -79,5 +79,5 @@ Or:
7979
```
8080

8181
## More info
82-
1. [learn.microsoft.com](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#generatedocumentationfile)
83-
2. [learn.microsoft.com](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#documentationfile)
82+
1. [learn.microsoft.com](https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props#generatedocumentationfile)
83+
2. [learn.microsoft.com](https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props#documentationfile)

rules/Proj0247.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ When ensuring backwards compatibility of the API surface
88
of your package, it is advised to do this in strict mode.
99
This helps preventing any unintentional API changes.
1010

11-
More information can be found [here](https://learn.microsoft.com/en-us/dotnet/fundamentals/apicompat/package-validation/overview), [here](https://learn.microsoft.com/en-us/dotnet/fundamentals/apicompat/package-validation/baseline-version-validator) and [here](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#enablestrictmodeforbaselinevalidation).
11+
More information can be found [here](https://learn.microsoft.com/dotnet/fundamentals/apicompat/package-validation/overview), [here](https://learn.microsoft.com/dotnet/fundamentals/apicompat/package-validation/baseline-version-validator) and [here](https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props#enablestrictmodeforbaselinevalidation).
1212

1313
## Non-compliant
1414
``` xml

rules/Proj0248.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ compatibility validation.
1010

1111
Note that the default value is `true` and can therefore be omitted.
1212

13-
More information can be found [here](https://learn.microsoft.com/en-us/dotnet/fundamentals/apicompat/package-validation/overview), [here](https://learn.microsoft.com/en-us/dotnet/fundamentals/apicompat/package-validation/compatible-framework-validator) and [here](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#enablestrictmodeforcompatibletfms).
13+
More information can be found [here](https://learn.microsoft.com/dotnet/fundamentals/apicompat/package-validation/overview), [here](https://learn.microsoft.com/dotnet/fundamentals/apicompat/package-validation/compatible-framework-validator) and [here](https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props#enablestrictmodeforcompatibletfms).
1414

1515
## Non-compliant
1616
``` xml

0 commit comments

Comments
 (0)