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.
1 answer
Sort by: Most helpful
-
Ryan Hill 25,981 Reputation points Microsoft Employee
2021-10-19T21:03:10.603+00:00