convert part of project to DLL's

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shashi Sadasivan
    Recognized Expert Top Contributor
    • Aug 2007
    • 1435

    convert part of project to DLL's

    Hi,
    With my project turning out to have around an enormus different dataTablees, and forms, the compilation time taken has started to show up.

    Is there a way to convert parts of it as libraries, considering that there will be datasets (Strongly typed) which will need the main program to supply the connection strings, and these datasets will be a part of almost most of the code files
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Hi Sashi,

    Are you able to use class libraries?

    Creating C# Class Library (DLL) Using Visual Studio .NET

    Cheers

    Comment

    • Shashi Sadasivan
      Recognized Expert Top Contributor
      • Aug 2007
      • 1435

      #3
      I have converted some pure cs files to a library

      These classes however do not interact with a database.

      I know most of my (windows) forms are linked with typed datasets, and one of the ways to centralize connection strings is to have all of the dataset fikes in the same project.

      Though I might look into splitting the project and referencing them to the other !

      Edit: I was in the belief that a dll could not have its own .config file and hence never bothered to create it. But I did try it, works like a charm. So now i have started another module as a class library, and will slowly port most of the rest as DLL's ... thanks !

      Comment

      Working...