Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I would like to get the location of the DLL file, because I need to read another file placed in the same folder.
In .net framework 4.8 I've used Assembly.GetExecutingAssembly().Location, but it return an empty string in .net 8.
I also tried AppDomain.CurrentDomain.BaseDirectory but it returns the directory of Revit.exe.
Any suggestions?
Solved! Go to Solution.