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. C / C++ / MFC
  4. Native C++ resources in a .NET application

Native C++ resources in a .NET application

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++hardwarequestionannouncement
7 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.
  • H Offline
    H Offline
    hatemtaleb
    wrote on last edited by
    #1

    Hi, Is it possible to embed VERSIONINFO informations in a c# project ? I tried integrating the .rc file in my project, and modified the generation action to 'embedded resource' but the binary still show the assembly version :(

    L 1 Reply Last reply
    0
    • H hatemtaleb

      Hi, Is it possible to embed VERSIONINFO informations in a c# project ? I tried integrating the .rc file in my project, and modified the generation action to 'embedded resource' but the binary still show the assembly version :(

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      There is a specific forum for C++/CLI .NET questions and this is not it. Have look at the forum titles. I have not tried to import an existing RC file but if you create a new C++ managed winforms project it has an RC file which you can add a VersionInfo section into so it is supported some way. VS2005 on XP Pro

      H 1 Reply Last reply
      0
      • L led mike

        There is a specific forum for C++/CLI .NET questions and this is not it. Have look at the forum titles. I have not tried to import an existing RC file but if you create a new C++ managed winforms project it has an RC file which you can add a VersionInfo section into so it is supported some way. VS2005 on XP Pro

        H Offline
        H Offline
        hatemtaleb
        wrote on last edited by
        #3

        oh sorry, I was confused where to put this question, so I posted it twice :sigh: yes, you are right! this work in a manged c++ porject, but that's not what I need, I already invested more than 3 months in c# and I am not ready to move to c++ just for this X|

        L 1 Reply Last reply
        0
        • H hatemtaleb

          oh sorry, I was confused where to put this question, so I posted it twice :sigh: yes, you are right! this work in a manged c++ porject, but that's not what I need, I already invested more than 3 months in c# and I am not ready to move to c++ just for this X|

          L Offline
          L Offline
          led mike
          wrote on last edited by
          #4

          So you are doing C# development? Don't take this the wrong way but in the 44 minutes since your first post I could have have easily manually copied the Version Information values from a RC file into the Version information of the AssemblyInfo.cs file.

          H 1 Reply Last reply
          0
          • L led mike

            So you are doing C# development? Don't take this the wrong way but in the 44 minutes since your first post I could have have easily manually copied the Version Information values from a RC file into the Version information of the AssemblyInfo.cs file.

            H Offline
            H Offline
            hatemtaleb
            wrote on last edited by
            #5

            I am sure you can do that :) In my case, I am using a shared version.rc file generated on the fly by the server doing the compilation.. this is getting a little more complicated :((

            L 1 Reply Last reply
            0
            • H hatemtaleb

              I am sure you can do that :) In my case, I am using a shared version.rc file generated on the fly by the server doing the compilation.. this is getting a little more complicated :((

              L Offline
              L Offline
              led mike
              wrote on last edited by
              #6

              Just found this[^]

              led mike

              H 1 Reply Last reply
              0
              • L led mike

                Just found this[^]

                led mike

                H Offline
                H Offline
                hatemtaleb
                wrote on last edited by
                #7

                Thanks mike, I appreciate it :)

                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