0

I have a VS solution containing two web API projects one net core web API and one net framework web API

How can I launch both web API projects for debugging on IIS express? I found out that only one web API launches at a time (the one set as Startup project)

In the configuration manager both projects are set to build: enter image description here

2
  • What's the version of Visual Studio that you are using? That matters a lot. Commented Jan 18, 2023 at 1:25
  • Visual Studio 2019 Commented Jan 18, 2023 at 22:46

1 Answer 1

1

At least for VS 2022, you can follow the simplest steps to select multiple projects as startup projects,

Visual Studio multiple startup projects selection

But one thing to note is that before setting multiple startup projects, you should debug your ASP.NET Core project at least once and select from the Debug menu to debug upon IIS Express,

Visual Studio debug menu to select IIS Express

Reference

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

1 Comment

Thanks [@Lex Li], that's exactly what I was missing.

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.