Assembly not strongly named problem need help

J

jm

I am trying to make it so that I can use:

using owc10

in my csharp page.

I created a set of .dlls with aximp.exe. I tried to drag them into
c:\windir\assembly but windows xp pro. complains:

The located assembly 'OWC10.dll' is not strongly named.

What am I doing wrong?

Thank you for any guidance.
 
J

Julie

jm said:
I am trying to make it so that I can use:

using owc10

in my csharp page.

I created a set of .dlls with aximp.exe. I tried to drag them into
c:\windir\assembly but windows xp pro. complains:

The located assembly 'OWC10.dll' is not strongly named.

What am I doing wrong?

Thank you for any guidance.

Look into SN to create a strong key to link into your application.
 
B

BuddyHome

If use just want to say 'using owc10' then just reference the assembly and
then you can do this. If for some reason you want to put the assembly in to
the GAC then you have to strong name them, use SN.EXE which comes part of
the .Net framework, this application will generate a strong name key. You
will then need to modify the AssemblyInfo.cs to point the strong name key
file. To do this you will need to modifiy AssemblyKeyFile and
AssemblyKeyName attribute.

Hope this helps,
 
J

jm

Thanks, but I thought to reference the assembly, I had to have it in
the c:\windows\assembly directory. Is that wrong? Where else would I
put it to reference it? do I just put the .dll in the same directory
as the webpage codebehind (or src=) page? Thank you again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top