Publish WPF project as .exe file

Viewed 42

I have several project in which I need to send arguments to, my problem is I cannot send arguments to ‏‏‫Application Reference‬ (‪.appref-ms‬).

Is there a way to publish projects as .exe file and not ‏‏‫Application Reference‬ (‪.appref-ms‬)?

1 Answers

After you publish your program, check the Application Files, there's a ".exe" file.

Just remove ".deploy" or change your settings to remove ".deploy" after you publish.

Publish > Options > Deployment > uncheck the "use .deployment file extension"

Related