Hi
Problem : Unable to deploy an assembly in IE, as a cab file.
(Works fine when deployed as a dll )
Description :
I have created a assembly (dll with no user interface)in C# which I
deploy in IE. The dll name is test.dll and the object tag in the html
page is as follows.
<OBJECT ID="myAssembly " classid="test.d ll#testNS.Class 1"></OBJECT>
This works fine.
Now, for practical reasons, I want to deploy the assembly as a cab
file, but there is a problem.
To deploy it as a cab I followed the steps mentioned in
http://msdn.microsoft.com/library/de...pplication.asp
1. Created the cab file called it test.cab (using cabarc.exe)
2. Created a config file called test.dll.config
<configuratio n>
<runtime>
<assemblyBindin g xmlns="urn:sche mas-microsoft-com:asm.v1">
<dependentAssem bly>
<assemblyIdenti ty name="test"/>
<codeBase version="1.0.0. 0"
href="http://mypc/test.cab"/>
</dependentAssemb ly>
</assemblyBinding >
</runtime>
</configuration>
3. In the HTML I specified this config file
<link rel="Configurat ion" href="http://mypc/test.dll.config "/>
4. I'm unsure about the object tag, so I tried the following two cases
a. <OBJECT ID="myAssembly " classid="test.d ll#testNS.Class 1"></OBJECT>
b. <OBJECT ID="myAssembly " classid="test.c ab#testNS.Class 1"></OBJECT>
But neither worked.
The assembly is strong named. Any idea what I did wrong ?
thanks
mqs