Skip to content

Commit 28a5384

Browse files
committed
build(agent-processor): pin ConfigurationManager for docfx resolution
1 parent 3286aea commit 28a5384

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

agent/Processors/MTConnect.NET-AgentProcessor-Python/MTConnect.NET-AgentProcessor-Python.csproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,17 @@
4141
<PrivateAssets>all</PrivateAssets>
4242
</PackageReference>
4343
<PackageReference Include="NLog" Version="5.2.7" />
44+
<!--
45+
IronPython's DynamicLanguageRuntime transitive (Microsoft.Scripting.dll)
46+
carries a strong-named reference to System.Configuration.ConfigurationManager
47+
8.0.0.0 even though its net8.0 nuspec drops the dependency (it was only
48+
declared on the netstandard2.0 group). Without an explicit reference here
49+
the assembly is never copied into bin/Debug/net8.0/, and `docfx metadata`
50+
emits `InvalidAssemblyReference` while walking the Python processor DLL's
51+
reference graph. Pinning it on the project that uses IronPython lands
52+
the assembly in the output directory so the docs build stays warning-free.
53+
-->
54+
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
4455
</ItemGroup>
4556

4657
<ItemGroup>

0 commit comments

Comments
 (0)