Hi,
I am compiling a C# Strong named project on two computers, on one computer
the project is being compiled successfully and on the other it generate the
following error:
Cryptographic failure while signing assembly
'D:\...\NPSPool \obj\Debug\NPSP ool.dll' -- 'The key container name
'.\NPSPool.sk' does not exist'
AssemblyInfo.cs include the following lines:
[assembly: AssemblyKeyFile (".\\NPSPool.sk ")]
[assembly: AssemblyKeyName (".\\NPSPool.sk ")]
At the minute I remove the '.\\' from the key path the project is being
compiled successfully BUT on the other computer it stop compiling with the
same error ( Cryptographic failure while signing assembly... ).
To put it short:
On one computer the project will NOT compile unless I use the following
syntax:
[assembly: AssemblyKeyFile (".\\NPSPool.sk ")]
[assembly: AssemblyKeyName (".\\NPSPool.sk ")]
On the other computer the project will NOT compile unless I use the
following syntax:
[assembly: AssemblyKeyFile ("NPSPool.sk ")]
[assembly: AssemblyKeyName ("NPSPool.sk ")]
Why is that happening? the directory tree (and the directory content) on the
two computers is the same...
ThanX
Nadav.
I am compiling a C# Strong named project on two computers, on one computer
the project is being compiled successfully and on the other it generate the
following error:
Cryptographic failure while signing assembly
'D:\...\NPSPool \obj\Debug\NPSP ool.dll' -- 'The key container name
'.\NPSPool.sk' does not exist'
AssemblyInfo.cs include the following lines:
[assembly: AssemblyKeyFile (".\\NPSPool.sk ")]
[assembly: AssemblyKeyName (".\\NPSPool.sk ")]
At the minute I remove the '.\\' from the key path the project is being
compiled successfully BUT on the other computer it stop compiling with the
same error ( Cryptographic failure while signing assembly... ).
To put it short:
On one computer the project will NOT compile unless I use the following
syntax:
[assembly: AssemblyKeyFile (".\\NPSPool.sk ")]
[assembly: AssemblyKeyName (".\\NPSPool.sk ")]
On the other computer the project will NOT compile unless I use the
following syntax:
[assembly: AssemblyKeyFile ("NPSPool.sk ")]
[assembly: AssemblyKeyName ("NPSPool.sk ")]
Why is that happening? the directory tree (and the directory content) on the
two computers is the same...
ThanX
Nadav.
Comment