Message 1 of 4
Find the absolute path of dll assemblies

Not applicable
06-13-2014
02:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
In my visual studio project folder I have some data that I cannot embed them in the resources of the project. The best way to access the data is to find out the absolute path of the DLL that will be plugged in Revit addin manager and use the relative path. However, Revit addin-manager seems to make a local copy of the DLL which will cause losing the track of the original project folder. I have spent hours to figure it out but I couldn't. Solutions that use System.IO namespace return wrong answers. You can change the project folder and see that the system.io return wrong results.
I would appreciate feedback!