How can I convert a wpf application to exe

How to convert a wpf application to a .exe file that will run on all Microsoft Windows operating systems.  

+5
source share
4 answers

:) Compile in VS2008 and do not forget to check the Bin folder {Debug | Release} project locations to see exe

+2
source

If you're in a visual studio, press F7.

The application will be compiled into an exe file, which will then be executed. It is usually located under the directory of your solution:

SolutionDir\Bin\(Debug|Release)\Solution.exe

This file will only work on Windows computers that have the required CLR version installed. As far as I know, this does not exist.

+1
source

Visual Studio. Windows, ​​ . ( .NET 3.5sp1, , .)

+1

WPF is .exe by default, but it requires .NET 3+. You cannot create WPF.exe and expect it to work on all versions of Windows, regardless of whether the platform on which you compiled your application is installed.

It looks like a library dependency in C / C ++. Some libraries do not work on older versions of Windows.

+1
source

All Articles