KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm a .NET user, and my goal is as simple as finding the absolute path of the directory of my main executing assembly (the EXE file). I have several candidates: Assembly.GetExecutingAssembly().CodeBase Assembly.GetExecutingAssembly().Location AppDomain.CurrentDomain.BaseDirectory If to judge by the .NET documentation - I'm leaning towards CodeBase . Can anyone shed light over all three in a bit more specific terms than the .NET documentation? An example to demonstrate the difference perhaps?
Tags (comma-separated)
Save Edits
Cancel