Reputation: 7325
When I publish my blazor client side app, it seems that server part of the app (hosted by asp.net core) is not published.
I figured out something is wrong when i could not access any of the api endpoints of the app.
What could I do to get all projects/assemblies published?
Upvotes: 1
Views: 258
Reputation: 17434
Using a command line în your solution folder run dotnet publish -c Release -o {pat to your output folder}
.
This will build and publish all your projects under the solution folder.
Upvotes: 2