Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling DLLs with ipyc.exe asks erroneously for /main #815

Open
CFTSeb opened this issue May 9, 2022 · 0 comments
Open

compiling DLLs with ipyc.exe asks erroneously for /main #815

CFTSeb opened this issue May 9, 2022 · 0 comments

Comments

@CFTSeb
Copy link

CFTSeb commented May 9, 2022

Description

I try to compile a DLL, containing several python-Files with /target:dll. Although in https://github.com/IronLanguages/ironpython2/blob/master/Src/IronPythonCompiler/README.md
option /main is only valid for /target:exe, it aks me for a main in the dll context. The result (if I provide an arbitrarily "/main" file) does also not behave like expected. I switched to clr.CompileModules (which worked correctly). But I need ipyc.exe because of the meta-info features (fileversion productname ...)

Steps to Reproduce

ipyc.exe /out:test.dll /target:dll Tom.py Jerry.py

Expected behavior: output of test.dll

Actual behavior: ERROR: No files or main defined

Versions 2.7.7, 2.7.8, 2.7.11,

at least 2.7.7, 2.7.8, 2.7.11,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants