Specifically, using Visual Studio Community 2019, on a WPF .NET Core 3.1 app, how can I use the exe file from the bin/debug folder without the app.dll and app.runtimeconfig.json.
Basically I only want to pass the app.exe file only from the debug folder to someone also on Windows 10 and Windows Server 2012 R2(AWS EC2 windows) and have the app run.
The reason I want to use the debug app.exe is because it is <200kb vs the publish as single trimmed file which gives me a ~180mb file... which for some reason wouldn't run anyways?
Following How to build App without App.runtimeconfig.json? gave me the single 180mb file on publish that wouldn't run. Following .Net whole application as a single .exe file? made my app.dll go up 20kb and I still needed it.
Is it possible to be able to do this even? If so how can I get to be able to distribute the <200kb app.exe only without any other files from the debug folder?
EDIT: The app isn't actually done and all it has is basically an empty cs file with an xaml that has a few components on it (textblocks, textboxes, buttons, stacks, a datagrid, etc) How does this result in a 180mb published file I have no idea. Also I am new to WPF, just coming from Winforms where I can easily distribute the debug exe file and have it run everywhere.