Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Application.ExecutablePath returns dll instead of exe
In .NET artifacts are DLLs even for executable projects. With some automagic they get bundled into executables. However `Assembly.GetEntryAssembly()` always returns the dll instead of the exe. Following the guidance from the Runtime team retrieve the path to the executable via `GetModuleFileNameW` call. Resolves dotnet#1143
- Loading branch information