473,320 Members | 1,839 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

adding assembly to windows\assembly through bat file

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
Nov 19 '05 #1
3 1705
XCopy!!

I did a quick google search...see if this helps.
http://www.easydos.com/xcopy.html

Cheers,
Adam

"Grant Merwitz" <gr***@workshare.com> wrote in message
news:up**************@tk2msftngp13.phx.gbl...
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

Nov 19 '05 #2
gacutil was the way :)
"Grant Merwitz" <gr***@workshare.com> wrote in message
news:up**************@tk2msftngp13.phx.gbl...
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

Nov 19 '05 #3
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

"Adam Knight" <de*@brightidea.com.au> wrote in message
news:O8**************@TK2MSFTNGP15.phx.gbl...
XCopy!!

I did a quick google search...see if this helps.
http://www.easydos.com/xcopy.html

Cheers,
Adam

"Grant Merwitz" <gr***@workshare.com> wrote in message
news:up**************@tk2msftngp13.phx.gbl...
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


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Chien Lau | last post by:
I frequently define internal UserControl-derived classes in my WinForms apps: internal class MyUserControl:UserControl{ ... } I'll often need to embed these controls in a Form, whose class...
3
by: Bern | last post by:
This message is probably out of topic but I get no response from the less popular microsoft.public.dotnet.general newsgroup. Is there a resource manager of some sort in VS C# .NET which you can...
2
by: Carlton858 | last post by:
I have a web app that uses a third party assembly. I have been transferring this assembly back-and-forth from my dev server "bin" directory to my staging server "bin" directory many, many times...
18
by: Praveen Ramesh | last post by:
Hi, Is there any way to add the @Assembly reference to the aspx files programmatically from inside a custom control (when it gets dropped on to the page from the toolbox)? I have a custom...
1
by: Brian Conklin | last post by:
Hello Eneryone, I am having a problem. I have written a little app that will take a text "pipe" delimited file and place all of the values in to an Excel spreadsheet. It works great on any of my...
1
by: Max | last post by:
Searched all over google and can't seem to find how to do this. How do I go about adding comments about my own functions and sub-procedures? Like when I use them, the tool-tip tells me more then...
3
by: _DS | last post by:
The two obvious methods for ref'ing assemblies are: Add a reference and 'Browse' for the actual DLL OR Add existing project to the solution, then add a ref to 'Project'. 1: I'd like to...
2
by: Ron M. Newman | last post by:
Hello .NET Sages, Question. What is the meaning of adding say, an XML file to a project, next to a .CS file (not that it matters). Does that mean the XML file becomes a part of the compiled...
7
by: chage | last post by:
Hi, I have been searching around to try adding reference assembly to another assembly during runtime, programatically. Is this possible in .Net? The reason for this is because i am having...
12
by: Jeff Gaines | last post by:
I am a hobbyist programmer, using C# and VS2008 and writing desktop apps. I am trying hard to take a modular approach to avoid re-inventing the wheel but I'm finding it a bit frustrating. For...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.