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.
Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
1 answer
Sort by: Most helpful
-
Ryan Hill 30,326 Reputation points Microsoft Employee Moderator2021-10-19T21:03:10.603+00:00