Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Common file

Common file

Scheduled Pinned Locked Moved C#
tutorial
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kk tvm
    wrote on last edited by
    #1

    Hi friends How to use a common source class (.cs) file in different project files without copying into project's folder. thanks in advance

    -RisKhan-

    H L K L 4 Replies Last reply
    0
    • K kk tvm

      Hi friends How to use a common source class (.cs) file in different project files without copying into project's folder. thanks in advance

      -RisKhan-

      H Offline
      H Offline
      half life
      wrote on last edited by
      #2

      What a bout compling the class to DLL and the add it to the ref :)

      Have Fun Never forget it

      1 Reply Last reply
      0
      • K kk tvm

        Hi friends How to use a common source class (.cs) file in different project files without copying into project's folder. thanks in advance

        -RisKhan-

        L Offline
        L Offline
        lisan_al_ghaib
        wrote on last edited by
        #3

        Hello, You have to think Classes not file. The best solution is to create a Class libraby project (DLL) that contains your classes Then if you want to use it, you reference it in your current project. That's it !

        1 Reply Last reply
        0
        • K kk tvm

          Hi friends How to use a common source class (.cs) file in different project files without copying into project's folder. thanks in advance

          -RisKhan-

          K Offline
          K Offline
          kk tvm
          wrote on last edited by
          #4

          i think above solutions are good thanks

          -RisKhan-

          1 Reply Last reply
          0
          • K kk tvm

            Hi friends How to use a common source class (.cs) file in different project files without copying into project's folder. thanks in advance

            -RisKhan-

            L Offline
            L Offline
            leppie
            wrote on last edited by
            #5

            Add the file as a 'Link', you get this by clicking the little down arrow on the 'Add' button.

            xacc.ide - now with TabsToSpaces support
            IronScheme - 1.0 alpha 4a out now (29 May 2008)

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups