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 8097099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:39:09+00:00 2026-06-05T21:39:09+00:00

As they do with Sharpdevelop, when you start the solution in debug mode, it

  • 0

As they do with Sharpdevelop, when you start the solution in debug mode, it starts the application and a console (that displays logs). When you start the application in release mode it only starts the application.

When I modify the .prj file using the Visual Studio Gui, the last configuration overrides the debug and the release mode.

How do I configure Visual Studio to have the same behaviours as the Sharpdevelop solution?

  • 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-06-05T21:39:11+00:00Added an answer on June 5, 2026 at 9:39 pm

    A Visual Studio project keeps application settings organized in three PropertyGroups. Debug, Release, and a set of options that are independent of the active configuration. OutputType is in that last one.

    The workaround is to simply create the console yourself. Use the Application.Startup event, like this:

    public partial class App : Application {
        private void Application_Startup(object sender, StartupEventArgs e) {
    #if DEBUG
            AllocConsole();
            Console.WriteLine("Hello world");
    #endif
        }
    
        [System.Runtime.InteropServices.DllImport("kernel32.dll")]
        private static extern bool AllocConsole();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

They both inherit ViewAnimator . I know that ViewSwitcher allows only two views, while
They say that early binding solves the problem of synchronization. I couldn't understand how.
They seems to erase the line and enter the insertion mode.
They will also search part of their name. Not only words with spaces. If
They say that compacting garbage collectors are faster than traditional memory management because they
They say that taking what someone said, and repeating it back is the best
They say that a closed session in hibernate and webapp with ajax is a
They say that eval() is evil . I want to avoid the use of
They reason i want to do this is so that I can actually have
They say that to build a session factory in NHibernate is expensive and that

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.