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. Web Development
  3. ASP.NET
  4. logistical question...

logistical question...

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-net
10 Posts 6 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.
  • L Offline
    L Offline
    l a u r e n
    wrote on last edited by
    #1

    guys... i have a website (asp.net + web service) and a desktop app (c#) that are related but not so related as to have them both in the same solution thing is i need to have a set of common classes that are used mainly for the web service ... stuff that gets shuttled bck and forth basically what is the "proper" way to share said classes between 2 projects? thnx

    "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

    P R 2 Replies Last reply
    0
    • L l a u r e n

      guys... i have a website (asp.net + web service) and a desktop app (c#) that are related but not so related as to have them both in the same solution thing is i need to have a set of common classes that are used mainly for the web service ... stuff that gets shuttled bck and forth basically what is the "proper" way to share said classes between 2 projects? thnx

      "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      I normally include the other project as an additional project in both solutions. Make sure that you add them into your application as a project reference and the up to date version gets copied in locally when you build. We also use a CI process so that changes for one application would get picked up and built in to the other application.

      Forgive your enemies - it messes with their heads

      My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

      L A 2 Replies Last reply
      0
      • P Pete OHanlon

        I normally include the other project as an additional project in both solutions. Make sure that you add them into your application as a project reference and the up to date version gets copied in locally when you build. We also use a CI process so that changes for one application would get picked up and built in to the other application.

        Forgive your enemies - it messes with their heads

        My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

        L Offline
        L Offline
        l a u r e n
        wrote on last edited by
        #3

        thnx pete not sure i understand tho when you say: "include the other project as an additional project in both solutions" there are only 2 "solutions" ... the website and the desktop app :|

        "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

        D 1 Reply Last reply
        0
        • L l a u r e n

          thnx pete not sure i understand tho when you say: "include the other project as an additional project in both solutions" there are only 2 "solutions" ... the website and the desktop app :|

          "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

          D Offline
          D Offline
          David Mujica
          wrote on last edited by
          #4

          Maybe this will help ... http://msdn.microsoft.com/en-us/library/23x5fk78.aspx[^]

          L 1 Reply Last reply
          0
          • D David Mujica

            Maybe this will help ... http://msdn.microsoft.com/en-us/library/23x5fk78.aspx[^]

            L Offline
            L Offline
            l a u r e n
            wrote on last edited by
            #5

            thnx for the link but no... doesn't help at all

            "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

            1 Reply Last reply
            0
            • L l a u r e n

              guys... i have a website (asp.net + web service) and a desktop app (c#) that are related but not so related as to have them both in the same solution thing is i need to have a set of common classes that are used mainly for the web service ... stuff that gets shuttled bck and forth basically what is the "proper" way to share said classes between 2 projects? thnx

              "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

              R Offline
              R Offline
              Reiss
              wrote on last edited by
              #6

              Move the common classes into a third class library project and then reference that in both current projects.

              L 1 Reply Last reply
              0
              • R Reiss

                Move the common classes into a third class library project and then reference that in both current projects.

                L Offline
                L Offline
                l a u r e n
                wrote on last edited by
                #7

                ahhhhhhhh light in my darkness i knew that would be the method but the actual way to do it in VS eluded me thank you :)

                "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

                P 1 Reply Last reply
                0
                • P Pete OHanlon

                  I normally include the other project as an additional project in both solutions. Make sure that you add them into your application as a project reference and the up to date version gets copied in locally when you build. We also use a CI process so that changes for one application would get picked up and built in to the other application.

                  Forgive your enemies - it messes with their heads

                  My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                  A Offline
                  A Offline
                  Any_India
                  wrote on last edited by
                  #8

                  Best one

                  1 Reply Last reply
                  0
                  • L l a u r e n

                    ahhhhhhhh light in my darkness i knew that would be the method but the actual way to do it in VS eluded me thank you :)

                    "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

                    P Offline
                    P Offline
                    Pete OHanlon
                    wrote on last edited by
                    #9

                    Sorry I didn't get a chance to get back to you. I'm just back in - this was the solution that I would have pointed you towards.

                    Forgive your enemies - it messes with their heads

                    My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                    A 1 Reply Last reply
                    0
                    • P Pete OHanlon

                      Sorry I didn't get a chance to get back to you. I'm just back in - this was the solution that I would have pointed you towards.

                      Forgive your enemies - it messes with their heads

                      My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                      A Offline
                      A Offline
                      Anurag Gandhi
                      wrote on last edited by
                      #10

                      Some people understands in simple words. :)

                      Anurag Gandhi.
                      http://www.gandhisoft.com
                      Life is a computer program and every one is the programmer of his own life.
                      My latest article: Group GridView Data

                      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