How to make an executable version of WPF Kinect?

I made a Kinect application in Microsoft Visual Studio 2010. I need to make an exe application that can run on any Windows based system. If I need to do this, what are the requirements that the system must fulfill? and if so, how to do it?

I tried using exe in the application /bin/debug/application.exe, copying it to another folder, but it shows an error, but if I run exe from bin / debug / application.exe, it works. Am I missing something here or is this the only way to do this?

+7
source share
3 answers

"Any Windows-based system" will not work. Assuming you are using the Kinect SDK, it will only work on Windows 7 (and presumably on Windows Server 2008). For the computer running the application, you will need either the Kinect Runtime, which only works with the new Kinect for Windows sensor, or the Kinect SDK, which also works with Kinect for Xbox. Microsoft wants to sell more Kinect sensors for Windows, so they do not allow the runtime to work with older Kbox. It makes sense, but the person who listened to me when I first found out about it. There, a short publication shows how to check for Runtime when the application loads, so you can show the corresponding error message, and not just crash.

You need to copy any files that the program relies on, such as DLL files, along with the executable file. Here are instructions on how to embed DLL files in an executable; I haven't tried it, but it might be worth it.

The correct version of .NET must be installed when either Runtime or SDK is installed; you don’t have to worry about that.

+8
source

@Coeeffect is right, but you can also publish version 1.0.0.0 of your application by going to the project -> properties -> publication -> publishing wizard to publish your application, and then use it to calculate ect. Hope this helps!

+3
source

You need to copy all the non-standard DLLs that your program uses.

The destination computer needs an appropriate .Net version.

+1
source

All Articles