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. Visual Basic
  4. Specific version property when adding references

Specific version property when adding references

Scheduled Pinned Locked Moved Visual Basic
visual-studioquestioncsharpannouncement
3 Posts 2 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.
  • J Offline
    J Offline
    Jon_Boy
    wrote on last edited by
    #1

    When adding new references in visual studio, the 'Specific Version' property defaults to True. Makes sense when you want to compile against specific versions for side by side deployments. We have several projects that reference assembly .dlls that are just dumped into a common folder. So the latest .dll overrides the previous version. Next time developer goes to compile, the build fails because VS is looking for a specific version of the .dll. Is there a way to override this default value to false when adding new references? So when adding a new reference by using the Add Reference popup, the default value to Specific Value defaults to false instead of true.

    "There's no such thing as a stupid question, only stupid people." - Mr. Garrison

    L 1 Reply Last reply
    0
    • J Jon_Boy

      When adding new references in visual studio, the 'Specific Version' property defaults to True. Makes sense when you want to compile against specific versions for side by side deployments. We have several projects that reference assembly .dlls that are just dumped into a common folder. So the latest .dll overrides the previous version. Next time developer goes to compile, the build fails because VS is looking for a specific version of the .dll. Is there a way to override this default value to false when adding new references? So when adding a new reference by using the Add Reference popup, the default value to Specific Value defaults to false instead of true.

      "There's no such thing as a stupid question, only stupid people." - Mr. Garrison

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Jon_Boy wrote:

      Is there a way to override this default value to false when adding new references?

      I don't know, but I'd like to suggest using the project-templates. Create a new application, add all the desired references, and export it as a new template. Also helps in getting a decent default for the Assembly.cs file :)

      I are Troll :suss:

      J 1 Reply Last reply
      0
      • L Lost User

        Jon_Boy wrote:

        Is there a way to override this default value to false when adding new references?

        I don't know, but I'd like to suggest using the project-templates. Create a new application, add all the desired references, and export it as a new template. Also helps in getting a decent default for the Assembly.cs file :)

        I are Troll :suss:

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

        Roger that Eddy. Thanks for the suggestion.

        "There's no such thing as a stupid question, only stupid people." - Mr. Garrison

        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