I have built a .net class library project, and signed assembly as well. I added assembly into gac and it went in fine.
When I copied assembly to a different machine and tried registering the dll I got following error
"Failure adding assembly to the cache: The module was expected to contain an assembly manifest"
The reason was the location I copied my dll from source was to grove and then tried coping directly from grove to remote machine, and this sometimes damage file data.
Resolution: Copy file and make sure file copied from source to destination is correctly copied. In my particular case I copied it from groove to local machine first and then copied from local machine to vm.
When I copied assembly to a different machine and tried registering the dll I got following error
"Failure adding assembly to the cache: The module was expected to contain an assembly manifest"
The reason was the location I copied my dll from source was to grove and then tried coping directly from grove to remote machine, and this sometimes damage file data.
Resolution: Copy file and make sure file copied from source to destination is correctly copied. In my particular case I copied it from groove to local machine first and then copied from local machine to vm.
No comments:
Post a Comment