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. .NET (Core and Framework)
  4. How to set "Special Build" attribute in Assembly?

How to set "Special Build" attribute in Assembly?

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpvisual-studiotutorialquestionlearning
2 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.
  • N Offline
    N Offline
    Noodnik
    wrote on last edited by
    #1

    I'd like to set a "Special Build" property/attribute in the Assembly of my project (or in a resource file) -- something that gets compiled in. I've looked around the net for this and it's really not clear to me. I'm using Visual Studio.NET 1.0 and my App is standard C#. I've actually got two flavors of the app (one command line and one GUI) and I need to set the "Special Build" string differently for each app (E.g., I don't want to do it in code, I just want to set the values differently in either resource files or in the AssemblyInfo.cs file). Thanks for any tips!

    M 1 Reply Last reply
    0
    • N Noodnik

      I'd like to set a "Special Build" property/attribute in the Assembly of my project (or in a resource file) -- something that gets compiled in. I've looked around the net for this and it's really not clear to me. I'm using Visual Studio.NET 1.0 and my App is standard C#. I've actually got two flavors of the app (one command line and one GUI) and I need to set the "Special Build" string differently for each app (E.g., I don't want to do it in code, I just want to set the values differently in either resource files or in the AssemblyInfo.cs file). Thanks for any tips!

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      I think you need to write an .rc file, compile it with rc.exe, then use the /win32res switch to compile it into the assembly. Not tested, no warranty, usual disclaimers apply... Stability. What an interesting concept. -- Chris Maunder

      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