Repository navigation
Conversation
|
Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov |
| CONTRACTL_END; | ||
|
|
||
| // If argc is negative if argv includes the original argv[0] | ||
| PCWSTR exePath; |
There was a problem hiding this comment.
| PCWSTR exePath; | |
| PCWSTR invocationName; |
|
@elinor-fung What would be the best way to pass the original argv[0] from the C |
The product executable - so runtime/src/native/corehost/corehost.cpp Lines 285 to 289 in 102dcd1 It has the FEATURE_APPHOST define to distinguish between apphost and dotnet.
We could make the |
|
Actually, I wonder if it would make sense to change the |
|
Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it. |
Fixes #101837
I'm putting this PR in a draft state, as the code in this PR is hacking around with the restriction of the existing API. As I believe that the API
CorHost2::ExecuteAssemblycannot be changed, so it makes the correction trickier. I would appreciate guidance on how to solve this properly.Another aspect that I'm unfamiliar with is how
dotnet.exe foo.dllrelates to the changes made here. It could definitely be broken by these changes.