|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Missing referenced assemblies in compiled dll ...Hi,
I have a project that references a couple of other dll:s. After I compile the project I use IL DASM to have a look on the Manifest of the compiled dll. The thing is that not all referenced dll:s are in there (I'm missing 3 of 7)! My problem is that I need to find all referenced assemblies by reflection (using GetReferencedAssemblies) ... Is there a explination to this? I could really need some help and ideas with this ... Richard >I have a project that references a couple of other dll:s. After I compile Some compilers (the C# one for example) don't write unused references>the project I use IL DASM to have a look on the Manifest of the compiled >dll. The thing is that not all referenced dll:s are in there (I'm missing 3 >of 7)! to the compiled assembly. >My problem is that I need to find all referenced assemblies by reflection Why?>(using GetReferencedAssemblies) ... Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. I'm working on a BizTalk project and trying to build something that will
generate deploy scripts for us. The thing is that when we create "maps" (basicly xslt documents) the used assembly are references inline ... Is there a simular problem if I have a reference that I only use from inline code in a ASP.NET page? If there is a soultion for that that might work in my situtaion. Richard Show quote "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message news:eFx0TCu8GHA.3960@TK2MSFTNGP05.phx.gbl... > >>I have a project that references a couple of other dll:s. After I compile >>the project I use IL DASM to have a look on the Manifest of the compiled >>dll. The thing is that not all referenced dll:s are in there (I'm missing >>3 >>of 7)! > > Some compilers (the C# one for example) don't write unused references > to the compiled assembly. > > >>My problem is that I need to find all referenced assemblies by reflection >>(using GetReferencedAssemblies) ... > > Why? > > > Mattias > > -- > Mattias Sjögren [C# MVP] mattias @ mvps.org > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com > Please reply only to the newsgroup. |
|||||||||||||||||||||||