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. Compile DLL project into 3 seperate ones

Compile DLL project into 3 seperate ones

Scheduled Pinned Locked Moved C#
question
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.
  • S Offline
    S Offline
    Seraphin
    wrote on last edited by
    #1

    I have a big dll project with 3 different namespaces. Complete code is well structured and now I want to make one dll for each namespace out of it. Now I have the possibility to start 3 new projects, copy and paste the code and compile it. But is there another way to compile without the copy paste possibility? Thanks!

    J B T S 4 Replies Last reply
    0
    • S Seraphin

      I have a big dll project with 3 different namespaces. Complete code is well structured and now I want to make one dll for each namespace out of it. Now I have the possibility to start 3 new projects, copy and paste the code and compile it. But is there another way to compile without the copy paste possibility? Thanks!

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      Are your namespaces in different code files? If so, you could just copy the files themselves rather than the code. Either way should work.

      Tech, life, family, faith: Give me a visit. I'm currently blogging about: Morality Apart from God Judah Himango

      1 Reply Last reply
      0
      • S Seraphin

        I have a big dll project with 3 different namespaces. Complete code is well structured and now I want to make one dll for each namespace out of it. Now I have the possibility to start 3 new projects, copy and paste the code and compile it. But is there another way to compile without the copy paste possibility? Thanks!

        B Offline
        B Offline
        Bob Stanneveld
        wrote on last edited by
        #3

        Hello, I'm pretty sure that this is not possible. The smalles unit that you can build is a project and the linker doesn't produce more than one assembly per project. I don't know about VS 2003, but if you're using VS 2005, you can make a new project and take the project properties from the original one. In the project explorer, you can move the files per namespace to the other projects. The IDE moves the physical files for you. Second, you'll have to add the references to the projects and do a build solution. Hope this helps. :) Behind every great black man...             ... is the police. - Conspiracy brother Blog[^]

        1 Reply Last reply
        0
        • S Seraphin

          I have a big dll project with 3 different namespaces. Complete code is well structured and now I want to make one dll for each namespace out of it. Now I have the possibility to start 3 new projects, copy and paste the code and compile it. But is there another way to compile without the copy paste possibility? Thanks!

          T Offline
          T Offline
          Tom Wright
          wrote on last edited by
          #4

          Can't you just move them all under the same solution or add them to a solution and compile it that way? Tom Tom Wright tawright915@yahoo.com

          1 Reply Last reply
          0
          • S Seraphin

            I have a big dll project with 3 different namespaces. Complete code is well structured and now I want to make one dll for each namespace out of it. Now I have the possibility to start 3 new projects, copy and paste the code and compile it. But is there another way to compile without the copy paste possibility? Thanks!

            S Offline
            S Offline
            Seraphin
            wrote on last edited by
            #5

            Thx for reply, By using VS 2003, it seems that I have to use copy paste.

            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