473,383 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Assembly not strongly named problem need help

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.
Nov 16 '05 #1
3 1774
jm wrote:

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.
Nov 16 '05 #2
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,

"jm" <jo*************@yahoo.com> wrote in message
news:c6**************************@posting.google.c om...
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.

Nov 16 '05 #3
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.

"BuddyHome" <Bu***@onlinehome.com> wrote in message news:<er**************@tk2msftngp13.phx.gbl>...
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,

"jm" <jo*************@yahoo.com> wrote in message
news:c6**************************@posting.google.c om...
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.

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: jm | last post by:
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....
1
by: San | last post by:
Hi, Why strongly named assembly can refer other strongly named assembly ? Thanks with Regards, San.
5
by: Oleg Subachev | last post by:
When I try to use strongly named assembly1 that references non-strongly named assembly2 I get the following error: "The located assembly '<assembly2 name>' is not strongly named." How can I...
2
by: Paul Ingles | last post by:
Hi, I have an ASP.NET Web Application which uses a number of controls in an external strongly named assembly. Whenever I view a page that uses one of the controls within the strongly named...
7
by: Steve Richter | last post by:
When I build a C# class and install it in the GAC, my code works as it should, my .aspx code finds the DLL and can run a static method: <%@ Assembly Name="AutoCoder, Culture=neutral,...
0
by: john | last post by:
The changes to asp.net makes it very difficult for us to migrate one of our web projects to 2.0 and makes deployments more difficult for us. It seems that the new Asp.net model is only designed...
1
by: Diffident | last post by:
Hello All, I am trying to add an assembly to GAC but having difficult time figuring out the concept of GAC. This is what I am trying to do.... 1. Installed NUnit framework whose DLL...
5
by: Diffident | last post by:
Hello All, I am trying to add an assembly to GAC but having difficult time figuring out the concept of GAC. This is what I am trying to do.... 1. Installed NUnit framework whose DLL...
0
by: MC-Advantica | last post by:
I have built a managed wrapper class and assembly that expose much functionality available in unmanaged legacy DLLs. I can write VB apps that interface with the managed assembly, and the managed...
0
by: Dave Burns | last post by:
Hi, I have a C++ managed assembly (.dll) which links to a bunch of native libraries. Everything works fine if I don't make the managed assembly a strongly named one. Once I make it a strongly...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.