1

I am writing a WCF service and a simple console-application to test it. When I select my test-project (console application) in solution explorer and press F5 the project builds and opens a browser window instead of my console app. But I can find my console app in Debug folder and launch it manually. Any ideas why this could be happening?

4
  • 2
    Do you set option 'Set as startup project' for your console app? Commented Feb 21, 2014 at 4:09
  • @Alexander, thank you, that was the problem. Make it an answer so that I choose it? Commented Feb 21, 2014 at 4:12
  • It wasn't really a constructive question! Commented Feb 21, 2014 at 5:23
  • @FaizanMubasher, yeah, I agree, but I could not understand the roots of the problems, and I could not google the solution. Commented Feb 21, 2014 at 8:56

1 Answer 1

3

You should set option 'Set as startup project' for your console app (from context menu on your console project in Solution Explorer).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.