I've got a Visual Studio Excel Workbook project. When I publish the workbook and examine the source of the workbook (I open WinZip and check custom.xml), I see the tag _AssemblyLocation, which corresponds to the publish path.
Is there a way to read _AssemblyLocation from my .NET code?
I'd like to be able to read the publish path and determine which environment (development/quality assurance/production) I'm in based on server name.