Strong Name problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Programatix

    #1

    Strong Name problem

    Hi,

    I'm trying to apply Strong Name to my project and I get the following error
    while building the project,

    Building satellite assemblies...
    Satellite build for culture 'ms-MY' failed. Please see the output window for
    more detailed error information.
    ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
    cannot find the file specified.
    Satellite build for culture 'ms' failed. Please see the output window for
    more detailed error information.
    ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
    cannot find the file specified.
    Satellite build for culture 'zh-CHS' failed. Please see the output window
    for more detailed error information.
    ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
    cannot find the file specified.

    Anyone has any idea why this is happening and how to solve it? If the
    project does not contain any localized windows form, then everything works
    fine.

    Thanks.


  • Markus Wildgruber

    #2
    Re: Strong Name problem

    Hi!

    It seems that the assembly linker encounters a problem when trying to open
    the snk-file. Try to use "..\..\..\ssm.s nk" as the active directory is the
    output directory (e.g. ...\myproject\b in\debug) and NOT the solution path.
    In addition and first of all, you should make sure that the file ssm.snk
    exists in the directory.

    HTH,

    Markus

    "Programati x" <programatix@no spam.com> schrieb im Newsbeitrag
    news:eY1VP8iTDH A.2196@TK2MSFTN GP12.phx.gbl...[color=blue]
    > Hi,
    >
    > I'm trying to apply Strong Name to my project and I get the following[/color]
    error[color=blue]
    > while building the project,
    >
    > Building satellite assemblies...
    > Satellite build for culture 'ms-MY' failed. Please see the output window[/color]
    for[color=blue]
    > more detailed error information.
    > ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
    > cannot find the file specified.
    > Satellite build for culture 'ms' failed. Please see the output window for
    > more detailed error information.
    > ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
    > cannot find the file specified.
    > Satellite build for culture 'zh-CHS' failed. Please see the output window
    > for more detailed error information.
    > ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
    > cannot find the file specified.
    >
    > Anyone has any idea why this is happening and how to solve it? If the
    > project does not contain any localized windows form, then everything works
    > fine.
    >
    > Thanks.
    >
    >[/color]


    Comment

    • Programatix

      #3
      Re: Strong Name problem

      In Microsoft's documentation, it stated that in VB. Net project, the .snk
      file should be located where the solution files is located. The funny thing
      here is, if I remove all the localize Windows Forms, the solution will be
      compiled correctly without error.

      "Markus Wildgruber" <msdngroups@sys ka.de> wrote in message
      news:%23$mMr71T DHA.3700@tk2msf tngp13.phx.gbl. ..[color=blue]
      > Hi!
      >
      > It seems that the assembly linker encounters a problem when trying to open
      > the snk-file. Try to use "..\..\..\ssm.s nk" as the active directory is the
      > output directory (e.g. ...\myproject\b in\debug) and NOT the solution path.
      > In addition and first of all, you should make sure that the file ssm.snk
      > exists in the directory.
      >
      > HTH,
      >
      > Markus
      >
      > "Programati x" <programatix@no spam.com> schrieb im Newsbeitrag
      > news:eY1VP8iTDH A.2196@TK2MSFTN GP12.phx.gbl...[color=green]
      > > Hi,
      > >
      > > I'm trying to apply Strong Name to my project and I get the following[/color]
      > error[color=green]
      > > while building the project,
      > >
      > > Building satellite assemblies...
      > > Satellite build for culture 'ms-MY' failed. Please see the output window[/color]
      > for[color=green]
      > > more detailed error information.
      > > ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
      > > cannot find the file specified.
      > > Satellite build for culture 'ms' failed. Please see the output window[/color][/color]
      for[color=blue][color=green]
      > > more detailed error information.
      > > ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
      > > cannot find the file specified.
      > > Satellite build for culture 'zh-CHS' failed. Please see the output[/color][/color]
      window[color=blue][color=green]
      > > for more detailed error information.
      > > ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
      > > cannot find the file specified.
      > >
      > > Anyone has any idea why this is happening and how to solve it? If the
      > > project does not contain any localized windows form, then everything[/color][/color]
      works[color=blue][color=green]
      > > fine.
      > >
      > > Thanks.
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Markus Wildgruber

        #4
        Re: Strong Name problem

        Hi!

        I don't know how VB.NET organizes its output directories but in C# you have
        ....\solution\b in\debug as output directory by default. If you put the
        snk-file in the solution directory you have to specify "..\..\key.snk" .
        Maybe this is similar in VB.NET.
        I can't tell you anything about the fact that it works when compiling
        without windows forms items. Seems very strange to me.

        Markus

        "Programati x" <programatix@no spam.com> schrieb im Newsbeitrag
        news:eYjDbN3TDH A.2148@TK2MSFTN GP11.phx.gbl...[color=blue]
        > In Microsoft's documentation, it stated that in VB. Net project, the .snk
        > file should be located where the solution files is located. The funny[/color]
        thing[color=blue]
        > here is, if I remove all the localize Windows Forms, the solution will be
        > compiled correctly without error.
        >
        > "Markus Wildgruber" <msdngroups@sys ka.de> wrote in message
        > news:%23$mMr71T DHA.3700@tk2msf tngp13.phx.gbl. ..[color=green]
        > > Hi!
        > >
        > > It seems that the assembly linker encounters a problem when trying to[/color][/color]
        open[color=blue][color=green]
        > > the snk-file. Try to use "..\..\..\ssm.s nk" as the active directory is[/color][/color]
        the[color=blue][color=green]
        > > output directory (e.g. ...\myproject\b in\debug) and NOT the solution[/color][/color]
        path.[color=blue][color=green]
        > > In addition and first of all, you should make sure that the file ssm.snk
        > > exists in the directory.
        > >
        > > HTH,
        > >
        > > Markus
        > >
        > > "Programati x" <programatix@no spam.com> schrieb im Newsbeitrag
        > > news:eY1VP8iTDH A.2196@TK2MSFTN GP12.phx.gbl...[color=darkred]
        > > > Hi,
        > > >
        > > > I'm trying to apply Strong Name to my project and I get the following[/color]
        > > error[color=darkred]
        > > > while building the project,
        > > >
        > > > Building satellite assemblies...
        > > > Satellite build for culture 'ms-MY' failed. Please see the output[/color][/color][/color]
        window[color=blue][color=green]
        > > for[color=darkred]
        > > > more detailed error information.
        > > > ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
        > > > cannot find the file specified.
        > > > Satellite build for culture 'ms' failed. Please see the output window[/color][/color]
        > for[color=green][color=darkred]
        > > > more detailed error information.
        > > > ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
        > > > cannot find the file specified.
        > > > Satellite build for culture 'zh-CHS' failed. Please see the output[/color][/color]
        > window[color=green][color=darkred]
        > > > for more detailed error information.
        > > > ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
        > > > cannot find the file specified.
        > > >
        > > > Anyone has any idea why this is happening and how to solve it? If the
        > > > project does not contain any localized windows form, then everything[/color][/color]
        > works[color=green][color=darkred]
        > > > fine.
        > > >
        > > > Thanks.
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        Working...