Remove explicit PackageReference to NetAnalyzers again

This commit is contained in:
Siegfried Pammer
2025-12-29 20:09:35 +01:00
parent 77d9ee73e9
commit ceed812e3d
5 changed files with 55 additions and 26 deletions
-4
View File
@@ -57,9 +57,5 @@
</ItemGroup>
<ItemGroup>
<GlobalPackageReference Include="TomsToolbox.Composition.Analyzer" Version="2.22.2" />
<GlobalPackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.100">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</GlobalPackageReference>
</ItemGroup>
</Project>
+17 -7
View File
@@ -2,12 +2,6 @@
"version": 2,
"dependencies": {
"net10.0": {
"Microsoft.CodeAnalysis.NetAnalyzers": {
"type": "Direct",
"requested": "[10.0.100, )",
"resolved": "10.0.100",
"contentHash": "uj9VuyvqylnNueJfU7u2PkI/hEMpZl8Wg9BXyI0eatNEldU5jDYPdwsM8aDL18+1oLovju25MiqOPaGRBnG72A=="
},
"Microsoft.Sbom.Targets": {
"type": "Direct",
"requested": "[4.1.4, )",
@@ -21,7 +15,23 @@
"contentHash": "7gYo8ZR2eq3XkrilvUpLbTypeZy6IlD5FB8jah0YPhMOmDGhya4jJ3kfDMTTRt5m258Ou78P69mHMkG6DKZXsg=="
},
"icsharpcode.decompiler": {
"type": "Project"
"type": "Project",
"dependencies": {
"System.Collections.Immutable": "[9.0.0, )",
"System.Reflection.Metadata": "[9.0.0, )"
}
},
"System.Collections.Immutable": {
"type": "CentralTransitive",
"requested": "[10.0.1, )",
"resolved": "9.0.0",
"contentHash": "QhkXUl2gNrQtvPmtBTQHb0YsUrDiDQ2QS09YbtTTiSjGcf7NBqtYbrG/BE06zcBPCKEwQGzIv13IVdXNOSub2w=="
},
"System.Reflection.Metadata": {
"type": "CentralTransitive",
"requested": "[10.0.1, )",
"resolved": "9.0.0",
"contentHash": "ANiqLu3DxW9kol/hMmTWbt3414t9ftdIuiIU7j80okq2YzAueo120M442xk1kDJWtmZTqWQn7wHDvMRipVOEOQ=="
}
}
}
+26 -8
View File
@@ -13,12 +13,6 @@
"Microsoft.Extensions.Logging.Abstractions": "6.0.0"
}
},
"Microsoft.CodeAnalysis.NetAnalyzers": {
"type": "Direct",
"requested": "[10.0.100, )",
"resolved": "10.0.100",
"contentHash": "uj9VuyvqylnNueJfU7u2PkI/hEMpZl8Wg9BXyI0eatNEldU5jDYPdwsM8aDL18+1oLovju25MiqOPaGRBnG72A=="
},
"Microsoft.Extensions.Hosting": {
"type": "Direct",
"requested": "[10.0.1, )",
@@ -354,7 +348,11 @@
"contentHash": "yErfw/3pZkJE/VKza/Cm5idTpIKOy/vsmVi59Ta5SruPVtubzxb8CtnE8tyUpzs5pr0Y28GUFfSVzAhCLN3F/Q=="
},
"icsharpcode.decompiler": {
"type": "Project"
"type": "Project",
"dependencies": {
"System.Collections.Immutable": "[9.0.0, )",
"System.Reflection.Metadata": "[9.0.0, )"
}
},
"icsharpcode.ilspyx": {
"type": "Project",
@@ -362,7 +360,9 @@
"ICSharpCode.Decompiler": "[8.0.0-noversion, )",
"K4os.Compression.LZ4": "[1.3.8, )",
"Mono.Cecil": "[0.11.6, )",
"System.Composition.AttributedModel": "[10.0.1, )"
"System.Composition.AttributedModel": "[10.0.1, )",
"System.Reflection.Metadata": "[10.0.1, )",
"System.Runtime.CompilerServices.Unsafe": "[6.1.2, )"
}
},
"K4os.Compression.LZ4": {
@@ -414,11 +414,29 @@
"resolved": "0.11.6",
"contentHash": "f33RkDtZO8VlGXCtmQIviOtxgnUdym9xx/b1p9h91CRGOsJFxCFOFK1FDbVt1OCf1aWwYejUFa2MOQyFWTFjbA=="
},
"System.Collections.Immutable": {
"type": "CentralTransitive",
"requested": "[10.0.1, )",
"resolved": "9.0.0",
"contentHash": "QhkXUl2gNrQtvPmtBTQHb0YsUrDiDQ2QS09YbtTTiSjGcf7NBqtYbrG/BE06zcBPCKEwQGzIv13IVdXNOSub2w=="
},
"System.Composition.AttributedModel": {
"type": "CentralTransitive",
"requested": "[10.0.1, )",
"resolved": "10.0.1",
"contentHash": "mRxYvpCVPAeuLEk0c0kxWJVjbW1/HUoxCgYotOj9eDeQiYcTDOMdCQApsTrHYMN3pHBA8WoF00KGolG632Etaw=="
},
"System.Reflection.Metadata": {
"type": "CentralTransitive",
"requested": "[10.0.1, )",
"resolved": "10.0.1",
"contentHash": "zpcfT/wacPPhE17zcudozlxQtWN/84qyiMyZNGLnK4cj2IMBtLsZYwYjVnALUhPliwyUVj/P7kaZvBWYBCnf2Q=="
},
"System.Runtime.CompilerServices.Unsafe": {
"type": "CentralTransitive",
"requested": "[6.1.2, )",
"resolved": "6.1.2",
"contentHash": "2hBr6zdbIBTDE3EhK7NSVNdX58uTK6iHW/P/Axmm9sl1xoGSLqDvMtpecn226TNwHByFokYwJmt/aQQNlO5CRw=="
}
}
}
+11 -7
View File
@@ -8,12 +8,6 @@
"resolved": "1.3.8",
"contentHash": "LhwlPa7c1zs1OV2XadMtAWdImjLIsqFJPoRcIWAadSRn0Ri1DepK65UbWLPmt4riLqx2d40xjXRk0ogpqNtK7g=="
},
"Microsoft.CodeAnalysis.NetAnalyzers": {
"type": "Direct",
"requested": "[10.0.100, )",
"resolved": "10.0.100",
"contentHash": "uj9VuyvqylnNueJfU7u2PkI/hEMpZl8Wg9BXyI0eatNEldU5jDYPdwsM8aDL18+1oLovju25MiqOPaGRBnG72A=="
},
"Microsoft.Sbom.Targets": {
"type": "Direct",
"requested": "[4.1.4, )",
@@ -71,7 +65,17 @@
"contentHash": "dk9JPxTCIevS75HyEQ0E4OVAFhB2N+V9ShCXf8Q6FkUQZDkgLI12y679Nym1YqsiSysuQskT7Z+6nUf3yab6Vw=="
},
"icsharpcode.decompiler": {
"type": "Project"
"type": "Project",
"dependencies": {
"System.Collections.Immutable": "[9.0.0, )",
"System.Reflection.Metadata": "[9.0.0, )"
}
},
"System.Collections.Immutable": {
"type": "CentralTransitive",
"requested": "[10.0.1, )",
"resolved": "9.0.0",
"contentHash": "QhkXUl2gNrQtvPmtBTQHb0YsUrDiDQ2QS09YbtTTiSjGcf7NBqtYbrG/BE06zcBPCKEwQGzIv13IVdXNOSub2w=="
}
}
}
+1
View File
@@ -0,0 +1 @@
dotnet restore ILSpy.sln --force-evaluate -p:RestoreEnablePackagePruning=false