Assembly probing
-
Currently, I'm working on COM Interoperability project. In that client application (in vb 6.0) need to launch my application developed in .net. Now the problem is the assemblies referenced by my .net application is spread across 2-3 folders and not in the same folder where my .net executable is placed. Also, the client application is also not in the same path where my .net executable is. If I keep everything (i.e. .net executable and client application) in same location everything works fine but if I move my client application to location different than my .net executable path, client application fails to load. I register the assembly into the registry withoug codebase. Also, I tried setting the private path in probing attribute in app.config file but it didn't work. Can any one pls help in how I can resolve the assembly reference issue? Thanks...
-
Currently, I'm working on COM Interoperability project. In that client application (in vb 6.0) need to launch my application developed in .net. Now the problem is the assemblies referenced by my .net application is spread across 2-3 folders and not in the same folder where my .net executable is placed. Also, the client application is also not in the same path where my .net executable is. If I keep everything (i.e. .net executable and client application) in same location everything works fine but if I move my client application to location different than my .net executable path, client application fails to load. I register the assembly into the registry withoug codebase. Also, I tried setting the private path in probing attribute in app.config file but it didn't work. Can any one pls help in how I can resolve the assembly reference issue? Thanks...
Have you included the paths of the files in the computer's "PATH" environment variable?
"We make a living by what we get, we make a life by what we give." --Winston Churchill