Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Publish Winforms app with WebAssembly Blazor for local use

$
0
0

I need to create an .exe file for my Winforms app that works with my web page developed with Blazor. Everything is in the same project.

If I start my project on VS2019 it will run the web and then it'll start the Winforms. Everything works fine.

But if I try to publish, the Winforms no longer opens and it seems that the web part doesn't start at all.

The Winforms app will be working on a VM and the website will be available for me locally at this moment.

I use Xampp to manage my database.

What I have tried:

  • Publish both projects separately using the publish page on VS
  • Publish the project as one using the publish page on VS
  • I know how to create a single .exe file for a Winforms app, so I set the configs on the .csproj file and tried that too, but .exe file created does not start at all
  • I've set try/catch blocks at the beginning of the application so that maybe I could see the exception, but again, nothing happens, the loading cursor appears then stops

This is my project structure:

projectStructure


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>