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

How can I get the executable folder of a tauri blazor app

$
0
0

I am writing a tauri Blazor app based on ASP.NET Core 8.

I'm trying to get the folder where my tauri Blazor exe runs.

I tried checking a folder using:

@code {   private string patchFolder = Path.Combine(AppContext.BaseDirectory, "sys");}

When I try to print the patchFolder string, I only get the folder name /sys.

Is there any way for me to get the exe path in tauri Blazor in ASP.NET Core 8?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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