ipyc /out: option dose not change the output path of exe host.
[x] Are you running the latest version?
[x] Are you reporting to the correct repository?
[x] Did you perform a cursory search?
Description
When I set the output to bin\Program with ipyc /out:bin/Program /main:Program.py, the Program.exe still output at the path which Program.py at. And the host get the Program.dll at bin/Program.dll, as I can not just copy the exe to bin. If I set the output path to an absolute path, I even can not move the program to another place...
Prerequisites
ipyc /out: option dose not change the output path of exe host.
Description
When I set the output to
bin\Program
withipyc /out:bin/Program /main:Program.py
, theProgram.exe
still output at the path whichProgram.py
at. And the host get theProgram.dll
atbin/Program.dll
, as I can not just copy the exe tobin
. If I set the output path to an absolute path, I even can not move the program to another place...So why not combined the host and dll just like JScript?
To fixed that I must create a host by myself. I referenced to the dll so I can just get the assembly by
Assembly.LoadFrom
.https://github.com/wherewhere/MSBuild.Sdk.Extras/tree/main/Samples/Samples.PY.Host
Version Information
IronPython 3.4.1 (3.4.1.1000) [.NETFramework,Version=v4.6.2 on .NET Framework 4.8.9181.0 (64-bit)]