ILPack icon indicating copy to clipboard operation
ILPack copied to clipboard

Add equivalent of AssemblyBuilder.SetEntryPoint

Open johndaintree opened this issue 3 years ago • 4 comments

I've just discovered that AssemblyBuilder.SetEntryPoint is not available in .NET >= 5. I wonder/hope if its functionality is something that could be included in ILPAck.

https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.assemblybuilder.setentrypoint?view=netframework-4.8

johndaintree avatar Jun 30 '22 07:06 johndaintree

Hi @johndaintree, yes this feature is reasonable. I don't have the resources at the moment to work on this, but don't hesitate to submit a PR.

vermorel avatar Jul 01 '22 08:07 vermorel

Hi @johndaintree, yes this feature is reasonable. I don't resources at the moment to work on this, but don't hesitate to submit a PR.

Thanks @vermorel , I'm glad to hear that this is reasonable. I'm new to github, so I'll figure out how to do it and submit a PR. Thanks, again.

johndaintree avatar Jul 01 '22 08:07 johndaintree

hi @johndaintree , it seems like I'm early because I also need to set an entry point xD any idea on when you might finish that feature? or how I could work around it for now?

gluckez avatar Jul 05 '22 10:07 gluckez

hi @johndaintree , it seems like I'm early because I also need to set an entry point xD any idea on when you might finish that feature? or how I could work around it for now?

Hi @gluckez. I've not had a chance to look at it yet, and I don't know when I will. I've no idea what will be required, nor do I have a workaround. When I start I can post here, in the meantime feel free to take a look yourself.

johndaintree avatar Jul 05 '22 10:07 johndaintree