Referenced dll not found in Manifest? RRS feed

  • Question

  • I have one solution where I referenced an external dll.I checked the solution Manifest where I should see the referenced external dll and his public key.As I know,it is necessary to have the dll referenced embedded in Manifest otherwise the solution will not compile.Well,I build the solution,I run the solution,I can use the types from the referenced dll but surprise,when I open the exe file from the solution with ildsm.exe and I look into the Manifest,I cannot find any reference to that dll.I only found the mscorelib.dll in the manifest.I was expecting to see something like that:

    .assembly extern Example { .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) .ver 4:0:0:0 }

    The dll is strong signed.I also put the dll in the GAC folder,I configured the xml to take the last version of the dll and it seems like it is always stuck with the first version,it does not take the last version as per publisher policy assembler.

    I use .NET version 4.7.1 with Visual Studio 2019.

    Sunday, September 15, 2019 5:53 PM

All replies

  • Where is the external DLL from?

    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    profile for Karen Payne on Stack Exchange

    Sunday, September 15, 2019 8:19 PM
  • The .dll is loaded from another .net application created by me in visual studio.Is stored locally on the same machine I'm running the application.I referenced the .dll using Add Reference. 
    Saturday, September 28, 2019 10:11 AM