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. Product Lifecycle
  3. Application Lifecycle
  4. Managing Larger Visual Studio Projects

Managing Larger Visual Studio Projects

Scheduled Pinned Locked Moved Application Lifecycle
csharpvisual-studioquestionannouncement
5 Posts 4 Posters 31 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
    softwaremonkey
    wrote on last edited by
    #1

    We have probably all developed those Visual Studio applications which rely on additional DLLs and static libraries containing our favorite snippets of code. My question is how best to manage this kind of project which is not all neatly contained in the project folder. If we add our library paths (elsewhere on the disk) to the project then we can be sure that we are linking with the latest versions of the libraries but archiving this arrangement is a nightmare. Another alternative might be to copy all the libs to a 'lib' folder within the application that we are developing. This would provide a self-contained project which could easily be archived but we may not be using the latest version of our libs. I would be very interested to hear what other developers do. Is there a better way! :confused: Thanks Tony

    Kornfeld Eliyahu PeterK J 2 Replies Last reply
    0
    • S softwaremonkey

      We have probably all developed those Visual Studio applications which rely on additional DLLs and static libraries containing our favorite snippets of code. My question is how best to manage this kind of project which is not all neatly contained in the project folder. If we add our library paths (elsewhere on the disk) to the project then we can be sure that we are linking with the latest versions of the libraries but archiving this arrangement is a nightmare. Another alternative might be to copy all the libs to a 'lib' folder within the application that we are developing. This would provide a self-contained project which could easily be archived but we may not be using the latest version of our libs. I would be very interested to hear what other developers do. Is there a better way! :confused: Thanks Tony

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #2

      If you really have that much 3rd party (external) libraries you may consider creating self-hosted NuGet packages... http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds[^]

      I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      1 Reply Last reply
      0
      • S softwaremonkey

        We have probably all developed those Visual Studio applications which rely on additional DLLs and static libraries containing our favorite snippets of code. My question is how best to manage this kind of project which is not all neatly contained in the project folder. If we add our library paths (elsewhere on the disk) to the project then we can be sure that we are linking with the latest versions of the libraries but archiving this arrangement is a nightmare. Another alternative might be to copy all the libs to a 'lib' folder within the application that we are developing. This would provide a self-contained project which could easily be archived but we may not be using the latest version of our libs. I would be very interested to hear what other developers do. Is there a better way! :confused: Thanks Tony

        J Offline
        J Offline
        jschell
        wrote on last edited by
        #3

        softwaremonkey wrote:

        but we may not be using the latest version of our libs.

        However you will in fact be using the same one in development, QA and production. And be more likely to label it in source control so you can keep track of it. Thus if a problem occurs in QA or production then you are more likely to be able to reproduce it. And when you do update to new versions as part of a development and business decision then development and QA can more fully verity that it continues to work as expected.

        S 1 Reply Last reply
        0
        • J jschell

          softwaremonkey wrote:

          but we may not be using the latest version of our libs.

          However you will in fact be using the same one in development, QA and production. And be more likely to label it in source control so you can keep track of it. Thus if a problem occurs in QA or production then you are more likely to be able to reproduce it. And when you do update to new versions as part of a development and business decision then development and QA can more fully verity that it continues to work as expected.

          S Offline
          S Offline
          softwaremonkey
          wrote on last edited by
          #4

          Thanks, that is a very good point and a compelling reason to 'ring fence' every file needed to build a particular version of an application including the libraries. :thumbsup::thumbsup:

          C 1 Reply Last reply
          0
          • S softwaremonkey

            Thanks, that is a very good point and a compelling reason to 'ring fence' every file needed to build a particular version of an application including the libraries. :thumbsup::thumbsup:

            C Offline
            C Offline
            CatchExAs
            wrote on last edited by
            #5

            Try setting up your own nuget repository, especially if you share components across projects

            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