.net - Unable to run RegAsm: Error related to access to the Registry -


i have c++ project calls regasm in pre-build event couple of assemblies. pre-build event fails following error:

error 1 error ra0000 : error occurred while writing registration information registry. must have administrative credentials perform task. contact system administrator assistance. regasm 

when checked buildlog.htm has following command in pre-build event:

c:\windows\microsoft.net\framework\v2.0.50727\regasm ../../../commonlib/release/services.dll /tlb:c:\tfs\console\solution\bridge\services.tlb 

so copied command , ran in visual studio 2010 command prompt administrator got same error.

i used able build project fine until recently. not sure causing problem. appreciated.

i part of administrators group on computer , have turned off uac.

open cmd right click "run administrator"


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -