Arwin van der Laan

We are building a project where a template uses a c# assembly.

At runtime we want to retrieve the folder where the assemby was installed.

with

Code Snippet

System.Reflection.Assembly.GetExecutingAssembly().Location

we only get a location to the current location of the assembly and not the installation path. Is there another way to find out

Thanks,

Arwin van der Laan



Re: Visual C# General Get the installation location of a assembly through c#

Chris Beiter - MSFT

Hi Arwin,

This forum is to support development on the Microsoft Office Live application platform. It is not for support of any of the Office 2003 or 2007 client applications such as Excel, Word or Outlook, unless your question is related to how the client apps interact with Office Live.

Please refer to the list of newsgroups and forums for Microsoft Office if you need help with any of those applications.