|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Referencing the Assembly GUIDHello,
I apologize for such a newbie question, but I'd like to know if there's any way to reference the assembly GUID? Thanks! >I apologize for such a newbie question, but I'd like to know if there's any What assembly GUID? In .NET v2.0 you can do>way to reference the assembly GUID? yourAssembly.ManifestModule.ModuleVersionId if that's what you're looking for. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. Hi Mattias,
When you create a new Windows Application project, the Assembly.vb has a GUID, along with author, company name etc. I'm just wondering how to reference that elsewhere in the program. DOes the yourAssembly.ManifestModule.ModuleVersionID do the same thing? Show quoteHide quote "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message news:uJGn$gPPGHA.456@TK2MSFTNGP15.phx.gbl... > >I apologize for such a newbie question, but I'd like to know if there's > >any >>way to reference the assembly GUID? > > What assembly GUID? In .NET v2.0 you can do > yourAssembly.ManifestModule.ModuleVersionId if that's what you're > looking for. > > > Mattias > > -- > Mattias Sjögren [C# MVP] mattias @ mvps.org > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com > Please reply only to the newsgroup. >When you create a new Windows Application project, the Assembly.vb has a You can get it with>GUID, along with author, company name etc. I'm just wondering how to >reference that elsewhere in the program. yourAssembly.GetCustomAttributes(GetType(GuidAttribute)) or Marshal.GetTypeLibGuidForAssembly(yourAssembly). Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup.
DataBindings Help
How to retreive deepest XPath value from XML using VB.NET Multiple sdi forms Invalid Cast Exception using Inherited Object Avoiding & when adding a JavaScript event handler using Attributes.Add() User Control and Threading Help Converting c# to vb.net Frameworks and Check/Install Problem measuring a string Save and Load a TreeView to SQL Database |
|||||||||||||||||||||||