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. The Lounge
  3. Project Design Poll

Project Design Poll

Scheduled Pinned Locked Moved The Lounge
sharepointdesignhelpquestion
13 Posts 10 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
    Kevin Marois
    wrote on last edited by
    #1

    Do you reference other projects or do you reference the assemblies from other projects? I've been on a lot of teams and I've seen it done both ways? What's your take on the right way to reference other code?

    If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

    F P M Z J 8 Replies Last reply
    0
    • K Kevin Marois

      Do you reference other projects or do you reference the assemblies from other projects? I've been on a lot of teams and I've seen it done both ways? What's your take on the right way to reference other code?

      If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

      F Offline
      F Offline
      Forogar
      wrote on last edited by
      #2

      If they are all in the same solution then I reference the assembly(DLL) as that is what is suggested in VS2015.

      - I would love to change the world, but they won’t give me the source code.

      P 1 Reply Last reply
      0
      • K Kevin Marois

        Do you reference other projects or do you reference the assemblies from other projects? I've been on a lot of teams and I've seen it done both ways? What's your take on the right way to reference other code?

        If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        Usually I reference the project so I can debug into it. Once you've made a release build and deployed it it doesn't matter how you set it up in the VS. What I have run into (many times) is accidently referencing a DLL that's installed in the GAC and then wondering why my changes aren't taking effect. :sigh:

        1 Reply Last reply
        0
        • F Forogar

          If they are all in the same solution then I reference the assembly(DLL) as that is what is suggested in VS2015.

          - I would love to change the world, but they won’t give me the source code.

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          Not sure I agree, but maybe I don't understand what you mean.

          1 Reply Last reply
          0
          • K Kevin Marois

            Do you reference other projects or do you reference the assemblies from other projects? I've been on a lot of teams and I've seen it done both ways? What's your take on the right way to reference other code?

            If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #5

            I'm with PIEBALD on this one, reference the project so you can debug into it.

            Never underestimate the power of human stupidity RAH

            1 Reply Last reply
            0
            • K Kevin Marois

              Do you reference other projects or do you reference the assemblies from other projects? I've been on a lot of teams and I've seen it done both ways? What's your take on the right way to reference other code?

              If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

              Z Offline
              Z Offline
              Zterh
              wrote on last edited by
              #6

              +1 reference to the project

              1 Reply Last reply
              0
              • K Kevin Marois

                Do you reference other projects or do you reference the assemblies from other projects? I've been on a lot of teams and I've seen it done both ways? What's your take on the right way to reference other code?

                If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

                J Offline
                J Offline
                Jorgen Andersson
                wrote on last edited by
                #7

                Why would I want to reference just the dll if I have access to the project? I'm only seeing limitations.

                Wrong is evil and must be defeated. - Jeff Ello

                1 Reply Last reply
                0
                • K Kevin Marois

                  Do you reference other projects or do you reference the assemblies from other projects? I've been on a lot of teams and I've seen it done both ways? What's your take on the right way to reference other code?

                  If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

                  N Offline
                  N Offline
                  Nelek
                  wrote on last edited by
                  #8

                  suggest it for future polls? Poll Suggestion Page[^] You will probably get more people answering than posting here

                  M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                  M 1 Reply Last reply
                  0
                  • N Nelek

                    suggest it for future polls? Poll Suggestion Page[^] You will probably get more people answering than posting here

                    M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                    M Offline
                    M Offline
                    Mark_Wallace
                    wrote on last edited by
                    #9

                    I thought you could just create a poll. I'm sure I did, once.

                    I wanna be a eunuchs developer! Pass me a bread knife!

                    N 1 Reply Last reply
                    0
                    • M Mark_Wallace

                      I thought you could just create a poll. I'm sure I did, once.

                      I wanna be a eunuchs developer! Pass me a bread knife!

                      N Offline
                      N Offline
                      Nelek
                      wrote on last edited by
                      #10

                      Maybe it was like that... then

                      M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                      M 1 Reply Last reply
                      0
                      • N Nelek

                        Maybe it was like that... then

                        M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                        M Offline
                        M Offline
                        Mark_Wallace
                        wrote on last edited by
                        #11

                        "There were eight-teen of us livin' in that septic tank!"

                        I wanna be a eunuchs developer! Pass me a bread knife!

                        1 Reply Last reply
                        0
                        • K Kevin Marois

                          Do you reference other projects or do you reference the assemblies from other projects? I've been on a lot of teams and I've seen it done both ways? What's your take on the right way to reference other code?

                          If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

                          K Offline
                          K Offline
                          Keviniano Gayo
                          wrote on last edited by
                          #12

                          Reference other projects because the referenced dll will reflect the changes made from other projects automatically when rebuilding the solution. Unless if you want other developers not to edit the code directly from other projects(core project or business logic) referencing the assembly is the way to go. :-)

                          1 Reply Last reply
                          0
                          • K Kevin Marois

                            Do you reference other projects or do you reference the assemblies from other projects? I've been on a lot of teams and I've seen it done both ways? What's your take on the right way to reference other code?

                            If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

                            OriginalGriffO Offline
                            OriginalGriffO Offline
                            OriginalGriff
                            wrote on last edited by
                            #13

                            It depends. If the "other project" is a utility set that is shared by other solutions, then generally I would reference the assembly. If it's going to be changed as the current solution evolves, then I reference the project so I can debug through. My general rule is simple: if it's external to the solution then I reference the assembly - and "upgrade" to referencing the project if it becomes necessary. That way, my changes are not risking other solutions which may depend on something working the way it does now.

                            Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                            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