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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Including a .dll inside the release build exe

Including a .dll inside the release build exe

Scheduled Pinned Locked Moved C#
questionannouncement
9 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.
  • B Offline
    B Offline
    bankai123
    wrote on last edited by
    #1

    Is it possible to build your application so that a referenced .dll file is merged with the .exe? I have used a component in my project which states I may not include the component as a .dll file when I release my program. If this cannot be done, what is the way to use a component without including the dll file as a separate component? Thanks.

    P 1 Reply Last reply
    0
    • B bankai123

      Is it possible to build your application so that a referenced .dll file is merged with the .exe? I have used a component in my project which states I may not include the component as a .dll file when I release my program. If this cannot be done, what is the way to use a component without including the dll file as a separate component? Thanks.

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

      There's normally a reason why you can't include the DLL when you release your program. It's generally called the License agreement.

      Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

      B 1 Reply Last reply
      0
      • P Pete OHanlon

        There's normally a reason why you can't include the DLL when you release your program. It's generally called the License agreement.

        Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

        B Offline
        B Offline
        bankai123
        wrote on last edited by
        #3

        Sorry kinda new to this, so if i use a component from a third party .dll file, how do i build the program without including the dll file, and still have it run correctly?

        P 1 Reply Last reply
        0
        • B bankai123

          Sorry kinda new to this, so if i use a component from a third party .dll file, how do i build the program without including the dll file, and still have it run correctly?

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

          If their license prohibits you from redistributing it you can't, or you require that all the people who use your application must buy the component. That's probably not going to fly. Alternatively, use a component that does what you want that you can redistribute. Which component is it?

          Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

          B 1 Reply Last reply
          0
          • P Pete OHanlon

            If their license prohibits you from redistributing it you can't, or you require that all the people who use your application must buy the component. That's probably not going to fly. Alternatively, use a component that does what you want that you can redistribute. Which component is it?

            Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

            B Offline
            B Offline
            bankai123
            wrote on last edited by
            #5

            It's the free GraphicsServer.NET graphing component which came as a registered benefit from registering Visual Studio Express. Here's the important part of the EULA for reference "Your license rights include the right to perform this compilation and to distribute User Applications, provided (a) you do not distribute the source code for the User Application,(b) you do not distribute, bundle, wrap or subclass the Software, and as a component, which, when used in a Design Time development environment exposes the programmatic interface of the Software," So is my only option to find another component (ie. opensource)? Thanks

            P 1 Reply Last reply
            0
            • B bankai123

              It's the free GraphicsServer.NET graphing component which came as a registered benefit from registering Visual Studio Express. Here's the important part of the EULA for reference "Your license rights include the right to perform this compilation and to distribute User Applications, provided (a) you do not distribute the source code for the User Application,(b) you do not distribute, bundle, wrap or subclass the Software, and as a component, which, when used in a Design Time development environment exposes the programmatic interface of the Software," So is my only option to find another component (ie. opensource)? Thanks

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

              That section of the license agreement looks as though it states that you cannot wrap this component up and present it as your own. It looks as though you should be able to redistribute the component as part of your program (but check this with a lawyer first).

              Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

              B 1 Reply Last reply
              0
              • P Pete OHanlon

                That section of the license agreement looks as though it states that you cannot wrap this component up and present it as your own. It looks as though you should be able to redistribute the component as part of your program (but check this with a lawyer first).

                Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

                B Offline
                B Offline
                bankai123
                wrote on last edited by
                #7

                Thanks, I'll have to ask someone with more legal know-how than myself.  The reason i believe it prevents me from redistributing the dll, is because of the following bolded lines. If i included the dll file, it could still be in development i believe. Correct me if I'm wrong. (b) you do not distribute, bundle, wrap or subclass the Software, and as a component, which, when used in a Design Time development environment exposes the programmatic interface of the Software,"

                P 1 Reply Last reply
                0
                • B bankai123

                  Thanks, I'll have to ask someone with more legal know-how than myself.  The reason i believe it prevents me from redistributing the dll, is because of the following bolded lines. If i included the dll file, it could still be in development i believe. Correct me if I'm wrong. (b) you do not distribute, bundle, wrap or subclass the Software, and as a component, which, when used in a Design Time development environment exposes the programmatic interface of the Software,"

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

                  See my answer above. I believe that the issue here is about wrapping the component and representing it as your own.

                  Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

                  B 1 Reply Last reply
                  0
                  • P Pete OHanlon

                    See my answer above. I believe that the issue here is about wrapping the component and representing it as your own.

                    Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

                    B Offline
                    B Offline
                    bankai123
                    wrote on last edited by
                    #9

                    Ok, thanks for the 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