S
Suresh Gladstone
Hi,
This is a bit with versioning and installation of
the .NET dlls. I want to perform the following, [THIS IS
WITH REFERENCE TO WINDOWS APPLICATION]
1. A third party application will be invoking my .NET dll
through COM interop . For this I have used Regasm and
registered the assembly in the registry with CODEBASE
option.
eg: regasm myDll.dll
/tlb:myDll.tlb /codebase
2.The main dll which is invoked from the third party
application has some other .NET dll references.
These .NET references are common dlls used by many other
similar main dlls. The situation is we had placed this
common dlls in the GAC and it worked fine through
reference.Now we have a business decision to move these
common dll's to a local directory in the users machine
and refer it from there. I have written a Configuration
file and set the <codeBase ...> to point to the
directory. But it is not working. Can anyone send me a
sample config file how it should be. The point of concern
here is , the configuration file should be created for
the Dll and not the Exe.
3. Process Eg:
i. I have a third party application say A ,
ii. I have a set of main assemblies say B,C,D each of
which will be independently invoked by the third party
application A
iii. I have a set of common .NET dll libraries say X,Y,Z
these will be used by the main assemblies B,C and D
Process
The application A will invoke main assembly B (which is
registered in the registry with codebase option) . I have
placed assembly B in a directory say "c:\MainDlls"
The assembly B references X,Y,Z . I want to place these
X,Y,Z dlls in a common directory (not in GAC)
say "C:\CommonDlls" . The other main assemblies C and D
will also use these common libraries from the same
directory.
|---------X
A --------------->B|---------Y
(Third party |---------Z
application)
I have the following question
1.How should be the config file written in this case.Its
for a .NET dll (not .NET exe)
2.Where should the config file be placed. Since its a
third party invokingapplication, not sure where to place
the config file.
Any help will be really appreciated.
Regards,
Suresh Gladstone
This is a bit with versioning and installation of
the .NET dlls. I want to perform the following, [THIS IS
WITH REFERENCE TO WINDOWS APPLICATION]
1. A third party application will be invoking my .NET dll
through COM interop . For this I have used Regasm and
registered the assembly in the registry with CODEBASE
option.
eg: regasm myDll.dll
/tlb:myDll.tlb /codebase
2.The main dll which is invoked from the third party
application has some other .NET dll references.
These .NET references are common dlls used by many other
similar main dlls. The situation is we had placed this
common dlls in the GAC and it worked fine through
reference.Now we have a business decision to move these
common dll's to a local directory in the users machine
and refer it from there. I have written a Configuration
file and set the <codeBase ...> to point to the
directory. But it is not working. Can anyone send me a
sample config file how it should be. The point of concern
here is , the configuration file should be created for
the Dll and not the Exe.
3. Process Eg:
i. I have a third party application say A ,
ii. I have a set of main assemblies say B,C,D each of
which will be independently invoked by the third party
application A
iii. I have a set of common .NET dll libraries say X,Y,Z
these will be used by the main assemblies B,C and D
Process
The application A will invoke main assembly B (which is
registered in the registry with codebase option) . I have
placed assembly B in a directory say "c:\MainDlls"
The assembly B references X,Y,Z . I want to place these
X,Y,Z dlls in a common directory (not in GAC)
say "C:\CommonDlls" . The other main assemblies C and D
will also use these common libraries from the same
directory.
|---------X
A --------------->B|---------Y
(Third party |---------Z
application)
I have the following question
1.How should be the config file written in this case.Its
for a .NET dll (not .NET exe)
2.Where should the config file be placed. Since its a
third party invokingapplication, not sure where to place
the config file.
Any help will be really appreciated.
Regards,
Suresh Gladstone