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. References in Class Library

References in Class Library

Scheduled Pinned Locked Moved Visual Basic
question
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
    Jay Royall
    wrote on last edited by
    #1

    Hi, I have developed a class library to be used in a Windows project as well as a web project. Because I am developing plugins for a 3rd party CMS, the web project requires me to add some references to the class library so that I can comunicate with the CMS from my plugins. The back office Windows application, however, doesn't have the referenced CMS files available so the application fails. Do I need to copy all the referenced files to each machine where I want to use the class library, even though the Windows app doesn't require them (none of the class library procedures called from the Windows app uses the referenced CMS files). Or is there some way I can exclude them when compiling the class library for the Windows App? Thanks for your time.

    G 1 Reply Last reply
    0
    • J Jay Royall

      Hi, I have developed a class library to be used in a Windows project as well as a web project. Because I am developing plugins for a 3rd party CMS, the web project requires me to add some references to the class library so that I can comunicate with the CMS from my plugins. The back office Windows application, however, doesn't have the referenced CMS files available so the application fails. Do I need to copy all the referenced files to each machine where I want to use the class library, even though the Windows app doesn't require them (none of the class library procedures called from the Windows app uses the referenced CMS files). Or is there some way I can exclude them when compiling the class library for the Windows App? Thanks for your time.

      G Offline
      G Offline
      Gideon Engelberth
      wrote on last edited by
      #2

      If the Windows app does not use the portion of the common library that interacts with the CMS system, I would move the portion that does interact with the CMS into another library. Then you would end up with something like the following: Windows app --> common library <-- Web project --> CMS plugin

      J 1 Reply Last reply
      0
      • G Gideon Engelberth

        If the Windows app does not use the portion of the common library that interacts with the CMS system, I would move the portion that does interact with the CMS into another library. Then you would end up with something like the following: Windows app --> common library <-- Web project --> CMS plugin

        J Offline
        J Offline
        Jay Royall
        wrote on last edited by
        #3

        OK Gideon that's great, thanks for your time and advice :)

        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