all groups > macromedia flash flash remoting > march 2004 >
You're in the

macromedia flash flash remoting

group:

Unable to Emit Assembly


Unable to Emit Assembly Gil_H
3/31/2004 7:12:02 PM
macromedia flash flash remoting:
Hi All,

I'm making a reference to the flashgateway.dll in a MS Visual Studio .Net 2003
project and I keep getting an error message in the ide: "Unable to emit
assembly: Referenced assembly 'flashgateway' does not have a strong name."
I'm familiar with strong names, key pairs, etc. and I have attempt to give it
a strong name with sn and al. No luck. All I get is an error message to the
effect that the .dll does is not strongly named. As a result of this problem,
I cannot compile the project and I cannot use flash objects in my codebehind
pages. Has anyone had a similar experience and found a work-around to this?

Thanks in advance.
Re: Unable to Emit Assembly Pete
4/9/2004 12:08:14 AM
Are you trying to reference code in the GAC and use remoting?

[quoted text, click to view]

Re: Unable to Emit Assembly linhardt NO[at]SPAM aol.com
4/28/2004 10:44:41 AM
Try using tlbimp.exe

PRB: "Assembly Generation Failed" Error Message When You Try to Build
a Managed DLL Without a Strong Name
http://support.microsoft.com/?kbid=313666

[quoted text, click to view]
How to get/make strongly named versions of ShockwaveFlashObjects? linhardt NO[at]SPAM aol.com
5/10/2004 10:55:37 AM
Oops, my suggestion doesn't work.

I tried using the tlbimp.exe utility on
AxInterop.ShockwaveFlashObjects and Interop.ShockwaveFlashObjects, but
it gives the following error:
TlbImp error: The input file AxInterop.ShockwaveFlashObjects.dll' is
not a valid type library.

I tried using tlbexp to make a type library, but I couldn't use tlbimp
to convert it back after that.

Does anyone know how to get or make strongly named versions of
AxInterop.ShockwaveFlashObjects and Interop.ShockwaveFlashObjects?


[quoted text, click to view]
Re: Unable to Emit Assembly linhardt NO[at]SPAM aol.com
5/17/2004 1:07:33 PM
I finally got Flash working in a strongly named assembly. The steps I
took were:

(1) Installed lastest version of Shockwave from Macromedia download
page.

(2) Copied Flash.ocx from system to my project area
C:\WINDOWS\SYSTEM32\Macromed\Flash\Flash.ocx

(3) Created strongly named assemblies with Flash.ocx and a signed
keypair I created with sn.exe.
AxImp Flash.ocx /keyfile:keypair.snk

(4) Added the resulting strongly named assemblies to my project. In
Visual Studio, right click on 'References' in Solution Explorer and
add:
AxInterop.ShockwaveFlashObjects
Re: Unable to Emit Assembly Gil_H
6/3/2004 3:16:18 PM
Paul,

Thanks so much for you response to my post and your hard work figuring this
out. We ended up doing things the "old" way with flash for the project, but I
will definitely follow your lead and try out remoting when we get another
flash/.net project.

Gil
AddThis Social Bookmark Button