Microsoft
Software
Hardware
Network
Question : Accessing application component in .net
I have several applications writen in .net that use the same dll called cmImage.dll. I use Inno to install them on the users' machine so that C:\ProgramFiles\Photex contains the DLL and a folder for each app containing its exe.
When I run an app I get
System.IO.FileNotFoundExce
ption: Could not load file or assembly 'cmImage, Version=1.0.3684.17854, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'cmImage, Version=1.0.3684.17854, Culture=neutral, PublicKeyToken=null'
Does .net no longer search up the exe directory structure to find DLLs.
Inno can't install into the GAC, so what's the best way to share a DLL among several programs.
Answer : Accessing application component in .net
Here's a link on creating the StrongAssemblyName:
http://msdn.microsoft.com/
en-us/libr
ary/xc31ft
41.aspx
Random Solutions
Linq to Sql union with constant values
What is the right way to clone a Windows Server 2003 server, using imaging software?
My SQL Command not working
how do I access and manipulate the connectionString in app config?
DOS FTP Script passing of parameter
Locking a Row in Excel
Saving A Word Document opened from a template in MS Access with a specific name
SCSI Tape Drives or Library in a Hyper-V R2 guest
Can Sharepoint access
Local delivery queue in retry mode