© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•14mo ago•
2 replies
Magisker

.Net Maui Prebuild executes multiple times

Hi,

So I am working on a .Net maui desktop app, and I need to run a .bat file for some automation before the app gets build.
Problem is that it gets executed for every platform the app builds, while I only need it to be executed once.
Any ideas if this is possible?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

.NET MAUI Android Error: Type androidx.collection.ArrayMapKit is defined multiple times
C#CC# / help
3y ago
.net maui Help
C#CC# / help
2y ago
.net Maui Help
C#CC# / help
2y ago
✅ .NET MAUI Layout
C#CC# / help
2y ago