IronLanguages / ironpython3

Implementation of Python 3.x for .NET Framework that is built on top of the Dynamic Language Runtime.
Apache License 2.0
2.48k stars 287 forks source link

Ironpython version 3.4.1 Exception at runtime console application #1789

Open lucaregini opened 6 months ago

lucaregini commented 6 months ago

I just downloaded the binary release for IronPython.3.4.1. Launching the ipy console application results in the following error:

An assembly specified in the application dependencies manifest (ipy.deps.json) was not found: package: 'Microsoft.Scripting.Metadata', version: '1.0.0' path: 'Microsoft.Scripting.Metadata.dll'

The same problem doesn't occur with IronPython. 2.7.12. the application run just fine.

Please note that I have not installed the SDK for .net core 3.1 but the runtime packages only.

slozier commented 6 months ago

Thanks for the report. You can safely remove Microsoft.Scripting.Metadata.dll from ipy.deps.json as it's not used by IronPython. Having this extra DLL in the deps file does not appear to cause any issues on .NET 6.0. Note that .NET Core 3.1 reached end of support in December 2022 so an executable will not be included in the next release.