Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
398 views
in Technique[技术] by (71.8m points)

debugging - start multiple projects in different solutions in visual studio 2019

i have two WEB APIs core in different solutions one for authentication and another one for the app, there is a way to run them both when i click on run the App API?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I think you can debug one project on VS and then use Attach to process to attach another process of the project so that we can debug both of them at same time.

First, For Project A, you can first set Project A on IIS(publish to your local IIS). Besides, you can also refer to this document.

Then, Open Project B on VS, click Start Debugging and then click Attach to Process under Debug menu TO attach the IIS process of Project A. Mostly like w3wp.exe, aspnet_wp.exe. More info about the IIS process, you can refer to this document.

Note: you should check Show processes from all users checkbox in the bottom left corner.

There is a similar issue about this.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...