silverlight - Registered an Assembly for COM, but only works on dev computer -


hey, wondering if guys see wrong/suggest solution.

i have dll assembly com built c#, , trying com object silverlight out-of-browser. want siverlight application mobile between computers, put neccesary files in zip along batch installer followingto register assembly:

cd %windir%\microsoft.net\framework\v4.0.30319\ regasm.exe "%userprofile%\my documents\homework clock\windowshook.dll" /tlb /nologo

my application finds assembly , works fine on dev computer, when move application test computer (along dll , other neccesary files), batch file says registers application doesn't find it.

however, when rebuild assembly c# on test computer , replace dll moved dev computer rebuilt dll, application finds fine. convenient clients if didn't have rebuild assembly using c# if wish use application, wondering if there way fix this.

i looked problem while , thought might because assembly wasn't strong named assembly, since think c# automatically, tried doing in batch file , couldn't recognize 'al' , 'sn' commands necessary generate cryptographic key give assembly strong name, , tried doing in 'signing' tab in c# project properties, encountered same problem. ideas how fix this?

thanks in advance

the reason works when rebuild vs because runs regasm.exe /codebase option. required if don't plan put assembly in gac.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -