There are lots of possible explanations. Some of them even involve strange
network issues (something about running XP on a NT4 domain), some of them
are pretty straight-forward. If you aren't using delay signing, then I
would recommend installing your key onto your machine permanently using
sn -i, and then use the AssemblyKeyNameAttribute instead. Almost all of the
problems are traced back to some slowness in temporarily installing the key
to do the signing and then uninstalling it when done.
Let me know if that doesn't work for you or isn't an option.
--
--Grant
This posting is provided "AS IS" with no warranties, and confers no rights.
"Robert Sander" <an*******@discussions.microsoft.com> wrote in message
news:C6**********************************@microsof t.com...
Hi,
I've a strange and annoying problem with the C# compiler (7.00.9644). When
I compile a project with the AssemblyKeyFileAttribute the compiler hangs for
a few seconds. This happens only if the assembly is to be strong-named. And
it happens only from time to time. The problem is present for a few weeks
then it vanishes and after a few weeks it comes back again. I did no changes
to my machine when the problem occurs.
What's going on?
Robert