Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string myDll = string.Empty;
- string location = Assembly.GetExecutingAssembly().Location;
- if (location != null)
- {
- myDll = string.Format(@"{0}my.assembly.name.dll", location.Substring(0, location.LastIndexOf(@"")));
- }
Add Comment
Please, Sign In to add comment