Results 1 to 1 of 1

Thread: [RESOLVED] Change assembly info based on configuration?

Threaded View

  1. #1

    Thread Starter
    Still learning kebo's Avatar
    Join Date
    Apr 2004
    Location
    Gardnerville,nv
    Posts
    3,762

    Resolved [RESOLVED] Change assembly info based on configuration?

    Hey all,
    Does anyone know how to change the AssemblyInfo.vb file based on the selected configuration (Release, Debug etc.)?

    We basically want to change this stuff depending on who the build targets.
    Name:  Untitled.jpg
Views: 507
Size:  33.9 KB
    thanks.

    Edit

    Turns out you can use compiler directives directly inside AssemblyInfo.vb file...
    VB.Net Code:
    1. #If OneWay Then
    2. <Assembly: AssemblyTitle("One Title")>
    3. #Else
    4. <Assembly: AssemblyTitle("Another Title")>
    5. #End If
    Last edited by kebo; Mar 27th, 2020 at 09:16 AM.
    Process control doesn't give you good quality, it gives you consistent quality.
    Good quality comes from consistently doing the right things.

    Vague general questions have vague general answers.
    A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.

    ______________________________
    Last edited by kebo : Now. Reason: superfluous typo's

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width