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
Error-handling if SQLCMD fails in .bat Windows script
Date formula in Excel
How to generate autonumber value on add new record
Downgrade Windows Vista Ultimate to Vista Professional
MS Access and DAT files
Move cursor to field using after update event
MCSE Upgrade Path 2000-2008?
How to prevent #Null! in an access report
Syntax error (missing operator) in query expression
New field concatenated automatically from 2 other field in form