Compiling a single class
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngvs' list.


Julian Roberts
All the classes in ny project compile to MyProject.dll. But, there's one
specific file, cart.cs that I'll like to compile to Cart.dll in the bin
directory. I know I could run a command to compile, but is there a way to
automate this when I go ctrl+shift+B?

--
Jules
http://www.charon.co.uk

Reply to this message...
 
    
Tim Musschoot
can't you write a macro to perform this operation ?

-----Oorspronkelijk bericht-----
Van: Julian Roberts [mailto:Click here to reveal e-mail address]
Verzonden: zondag 4 augustus 2002 18:12
Aan: aspngvs
Onderwerp: [aspngvs] Compiling a single class

All the classes in ny project compile to MyProject.dll. But, there's one
specific file, cart.cs that I'll like to compile to Cart.dll in the bin
directory. I know I could run a command to compile, but is there a way to
automate this when I go ctrl+shift+B?

--
Jules
http://www.charon.co.uk

| [aspngvs] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngvs.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
Omar Khan
Julian,=20

Using a solution is the way to do this. You can create two projects in
the same solution - Web Application and a Class Library (to produce the
standalone DLL).

You can then set a reference in the Web Application, by doing Add
Reference. In the Add Reference dialog, click on the Projects tab, and
select the Class Library project to reference.

Once this is setup, every time you build (CTRL+Shift+B), the outputs of
the class library should get copied into the \bin folder of the web
application.

Let me know if this doesn't work for you.

Omar Khan
Visual Studio .NET

-----Original Message-----
From: Tim Musschoot [mailto:Click here to reveal e-mail address]=20
Sent: Sunday, August 04, 2002 10:34 AM
To: aspngvs
Subject: [aspngvs] RE: Compiling a single class

can't you write a macro to perform this operation ?

-----Oorspronkelijk bericht-----
Van: Julian Roberts [mailto:Click here to reveal e-mail address]
Verzonden: zondag 4 augustus 2002 18:12
Aan: aspngvs
Onderwerp: [aspngvs] Compiling a single class

All the classes in ny project compile to MyProject.dll. But, there's one
specific file, cart.cs that I'll like to compile to Cart.dll in the bin
directory. I know I could run a command to compile, but is there a way
to
automate this when I go ctrl+shift+B?

--
Jules
http://www.charon.co.uk

| [aspngvs] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngvs.asp =3D JOIN/QUIT
| http://www.asplists.com/search =3D SEARCH Archives

| [aspngvs] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngvs.asp =3D JOIN/QUIT
| http://www.asplists.com/search =3D SEARCH Archives

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com