Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 524875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:36:48+00:00 2026-05-13T08:36:48+00:00

I am attempting to make it so that we can have our application to

  • 0

I am attempting to make it so that we can have our application to behave differently based on the presence of a preprocessor directive. I’ve read that you can create build configurations to define different preprocessor directives based on which build you do. Well, I am not seeing anything in Visual Studio to do this.. I know how to do it from the command line, but not how to do it within the automated environment of VS 2008.

Can someone tell me how to create a new build configuration which has preprocessor directives set in it?

Also, not sure if it has anything to do with it, but our project is an ASP.Net website

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T08:36:48+00:00Added an answer on May 13, 2026 at 8:36 am

    I do not even see a way to control the
    DEBUG symbol, and it is an ASP.Net
    website

    Ok, there’s the problem. The ASP.net web site option gives you a lot less control over builds, etc as it doesn’t even use a project file.

    If it is at all feasible for you to switch, switch over to an ASP.net web application. A web app will behave much more like a typical C# project (you have a project file, and the contents of the csproj file control what is in the app instead of just the directory structure, etc.

    After you have converted, you should see the options that you are expecting.

    Here’s a link with directions for converting: How To Convert ASP.NET Website to ASP.NET Web Application

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In our application, we have a number of Windows Services (more than 30) that
I'm attempting to make a table that has header rows that can be collapsed
I'm attempting to make a php script that can load the current weather forecast
So I am attempting to make a really simple lightbox that I can use
I am attempting to make a UIView/UIControl that people can drag up and reveal
I am attempting to create a php script that can connect thru ssh to
Attempting to make a NSObject called 'Person' that will hold the login details for
I have a Excel .CSV file I'm attempting to read in with DictReader. All
I have an Eclipse project that I'm attempting to set up to build both
I have a ASP.NET application running on Windows 2003 that needs to communicate with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.