Trying to publish WPF App but getting error
I'm trying to publish a WPF C# application so that I get it's .exe but I keep getting that error.
The command I ran was
dotnet publish -c ReleaseMSBuild.exe was not present in the folder give in error so from somewhere of Visual Studio folder I found MSBuild.exe and copy pasted it in that folder and still getting the exact same error.