Re: Sharing common code

From: Herfried K. Wagner [MVP] (hirf-spam-me-here_at_gmx.at)
Date: 02/11/04


Date: 11 Feb 2004 15:36:58 +0100


* "Jeffrey Bradshaw" <Jeffrey.Bradshaw@Dictaphone.comNOSPAM> scripsit:
> I have two apps (one is a service and one is a windows app) that share some
> common classes. How can I make it so that I don't have to keep updating the
> items in solution explorer?
[...]
> I've thought about making a DLL out the common class but 1) Don't know how
> to do that and 2) how do you debug a dll?

Just create a project of type "Class Library", if you are using VS.NET.
Then you can reference this DLL from your other projects.

-- 
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


Relevant Pages

  • Custom classes with web services
    ... I also have a Windows app that will reference a couple of web services. ... Each web service references the .dll to get the user class. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Keeping objects between requests within the same session
    ... I tried using that, but when working with my Windows App accessing the DLL, ... to initialize it, so to speak (I imagine this is explicitly doing what, in a ... > the current page request. ...
    (microsoft.public.dotnet.framework.aspnet)
  • TCP Address Question
    ... I have an ASP.net page that uses a dll to send a request via TCP ... The Windows app receives (TCPListener / TCPClient / XMLDeserialiser) ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: common custom classes
    ... > you'll also need to set a reference to the DLL that contains the class. ... absolutely need to compile my common classes into a dll or is there a way ... of adding a reference/path to a source file? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Web Service call API
    ... Windows App under .NET, it works correctly. ... Another strange thing- I wanted to see if it was even finding the DLL ... I didn't rename the file back from "Analysis.DLX", ... my PC as the web server so all development is happening on one PC). ...
    (microsoft.public.dotnet.framework.aspnet.webservices)