dll does not represent a strongly named assembly

Discussion in 'ASP .Net' started by =?Utf-8?B?ZG90bmV0dGVzdGVy?=, Oct 20, 2005.

  1. Hi,

    Problem aquiring a PublicKeyToken while deploying a webpart.

    I created a .snk file through sn and added it to the project and then I
    edited the assemblyInfo.cs to
    [assembly: AssemblyKeyFile("..\\..\\mywebpart.snk")

    and rebuilt the project. It got the project rebuilt and I had no problem.

    But when I tried sn -T to get the PublicKeyToken to edit( <SafeControl> in
    web.config) I got the following error at cmd prompt.

    mywebpart.dll does not represent a strongly named assembly..

    I have no clue what to do next? any clue?
    =?Utf-8?B?ZG90bmV0dGVzdGVy?=, Oct 20, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Prasanna Padmanabhan
    Replies:
    1
    Views:
    802
    Mattias Sjögren
    Nov 19, 2003
  2. Paul Ingles
    Replies:
    1
    Views:
    485
    Kevin Yu [MSFT]
    Dec 11, 2004
  3. =?Utf-8?B?UGF1bA==?=
    Replies:
    3
    Views:
    375
    =?Utf-8?B?UGF1bA==?=
    Oct 14, 2005
  4. Replies:
    0
    Views:
    660
  5. Sean O'Day
    Replies:
    0
    Views:
    134
    Sean O'Day
    Jul 21, 2003
Loading...

Share This Page