juanlucs

juanlucs

  • NA
  • 3
  • 0

Referenced assembly does not have a strong name

Nov 4 2004 10:18 AM
Hi I have an EXE trying to run on a network. So i want to create a strong name to create a code-group to give permission to execute it in the intranet zone. (without changing the intranet zone for each pc manually) sn -k gtnet.snk then i add an assembly to AssemblyInfo.vb But i get this problem: Unable to emit assembly:Referenced assembly "'AxInterop.MSComDlg.dll" does not have a strong name. No se puede emitir el ensamblado: El ensamblado 'AxInterop.MSComDlg' al que se hace referencia no tiene un nombre seguro My next steep is to use TLBIMP to manually create the interop library. But which DLLs do I need to aplly this?? I have at References folder these: AxInterop.MSComDlg.dll, interop.Mapinfo, interop.MSComDlg The access path of all of the is in the /obj folder of the project. JuanLU If i do: tlbimp AxInterop.MSComDlg.dll /keyfile:gtnet.snk /out:mymscomdlg.dll i get: is not a valid type library I am not sure, but I think that i have to execute tlbimp with the original .dll agregated to the references folder of the project. But the original referece agregated is an exe file. Has anyone any idea to do this?? Or how can execute in a network a project with the .exe in a server.