Home > OS >  Blazor project publish doesn't create DLL files
Blazor project publish doesn't create DLL files

Time:09-19

I have two separate .NET6.0 projects for back-end and front-end. Backend with C# can be published just fine. Front-end is written with Blazor. When I choose publish, it goes through the process without errors or exceptions. It also builds files in the bin>Release>net6.0 directory just fine but doesn't create any of the DLL files in my chosen directory for publish. In that directory, it just creates wwwroot, libman.json and web.config as you can see in the image. Where can be the cause of the problem?

in the publish directory

CodePudding user response:

blazor web assembly app is a static app so it will have much static files, the logic codes you wrote in .razor will be packaged into your_project_name.dll in wwwroot\_framework.

enter image description here enter image description here

Then when we need to enter image description here enter image description here

  • Related