.NETGURU
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...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification