Strong Name problem

P

Programatix

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.
 
M

Markus Wildgruber

Hi!

It seems that the assembly linker encounters a problem when trying to open
the snk-file. Try to use "..\..\..\ssm.snk" as the active directory is the
output directory (e.g. ...\myproject\bin\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
 
P

Programatix

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.
 
M

Markus Wildgruber

Hi!

I don't know how VB.NET organizes its output directories but in C# you have
....\solution\bin\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
 

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