© 2026 Hedgehog Software, LLC
string? target = Assembly.GetAssembly(typeof(App))?.GetName().CodeBase; // returns the dll path instead of the exe