application is using some 3rd party .NET dlls

jdy0803

Well-known member
Joined
Sep 9, 2012
Messages
73
Location
Santa Clarita
Programming Experience
10+
I'm preparing deployment of my VB.NET application program.
This application is using some 3rd party .NET dlls.
I've learned two ways of deployment.
1. Copy dlls to the application folder.
2. Use GAC

I'm not confidential which way is better.
Can anybody give me some advice regarding this?
 
This is the first time for me to use gacutil.exe.
Can somebody help me to create assembly for GAC?
1. I typed following lists in assemblyList.txt.
Leadtools.dll
FlyCap2CameraControl_v100.dll
Leadtools.Multimedia.dll
.
.
.
2. My application program name is CDMhd.exe
But the application path is variable which is set when installer is running.
User can set the destination path when installer runs.


I did like this in command line.
gacutil /il assemblyList.txt
But error occurs like this.
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.


Can anybody give me some advice?
1. How to give parameter in gacutil.exe?
2. How to match target assemble with my application program?(I'm not sure if I should pass "CDMhd.exe" to the gacutil.exe)
3. How to give assembly name which is shown in c:\Windows\assembly folder
 
Back
Top