I need to access the assembly of my project in C# .NET2.0.
I can see the GUID in the 'Assembly Information' dialog in under project properties, and at the moment I have just copied it to a const in the code. The GUID will never change, so this is not that bad of a solution, but it would be nice to access it directly. Is there a way to do this?
Another way is to use Marshal.GetTypeLibGuidForAssembly.
According to msdn: