Removing the nuget option fixed another community member's issue @rmllbrathnayaka@gmail.com . I would also suggest upgrading to the latest version Visual Studio to see if that resolves the issue. If not, report it as a problem.
Publishing .net core API from visual studio
rmllbrathnayaka@gmail.com
1
Reputation point
I am getting this error when trying to publish my .net core API project from visual studio. I tried to clear nuget cache and re-run but no change.
If I tick off this 2 in the publishing wizard the db get configured properly. But I cant see any migrations or anything happens. Basically, an empty DB without any connection with the API. and requests return Status 500 internal server issue.
Azure SQL Database
Azure SQL Database
An Azure relational database service.
6,326 questions
Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
268 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
Developer technologies Visual Studio Other
5,451 questions
1 answer
Sort by: Most helpful
-
Ryan Hill 30,281 Reputation points Microsoft Employee Moderator
2021-10-19T21:03:10.603+00:00