Software management consultant and CTO, Headspring Systems
Executive summary: AppDomain.CurrentDomain.SetupInformation.ApplicationBase
Subscribe here: http://feeds.feedburner.com/jeffreypalermo.
In a console app, this directory is where the assemblies are. In ASP.NET, this directory is where the web.config file is, not the assemblies. Other methods seem to be less reliable and rely on the current directory. This can change whether the code is executing stand-alone or through Visual Studio. the above API seems to be very consistent.
Please share your experiences.
About Jeffrey Palermo
Jeffrey Palermo is a software management consultant and the CTO of Headspring Systems in Austin, TX. Jeffrey specializes in Agile coaching and helps companies double the productivity of software teams. Jeffrey is an MCSD.Net , Microsoft MVP, Certified Scrummaster, Austin .Net User Group leader, AgileAustin board member, INETA speaker, INETA Membership Mentor, Christian, husband, father, motorcyclist, Eagle Scout, U.S. Army Veteran, and Texas A&M University graduate.