How Can I run multiple Azure .net 5 Function Projects locally in Visual Studio 2019?

0

Issue

I have tried this and I get the following error

Port 7071 is unavailable. Close the process using that port, or specify another port using –port [-p].

There are various fixes for this to run the second function on a different port which I think work on pre .net 5 but they do not work on .net 5

Any ideas please?

Solution

This is a bug in VS2019. Fixed for VS2022 preview, but not in VS2019 so far.

https://developercommunity.visualstudio.com/t/Cant-debug-multiple-dotnet-5-Azure-Func/1505797#T-N1524939

Answered By – user2956548

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More