473,386 Members | 2,042 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,386 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 1775
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...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.