adding assembly to windows\assembly through bat file

G

Grant Merwitz

Hi

I am creating an assembly which needs to be accessibly from an ASP
application.
I have made this Assembly ComVisible(true), and after using regasm and
copying this to windows\assembly file i can use this fine.

now this is a rather repetitive and time wasting task (copy assembly across,
deregister old one, register new one, replace assembly version and restart
iis)
So i've made a batch file to do it.

The only thing i can't do, is figure out how to copy this assembly to the
c:\windows\assembly folder through dos.
Currently i am using Explorer to click and drag this assembly, to the
assembly folder.

Any advice will be appreciated

TIA
 
G

Grant Merwitz

I appreciate you reply

Copy wouldn't work, as it needs to registered in that folder, no just copied
across
I originaly tried copy - but it would just move that assembly into the
folder, not register it.

Gacutil.exe worked for me though

Thanks again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top