我无法在Visual Studio 2012上执行项目 [英] I can't execute a project on Visual Studio 2012

查看:100
本文介绍了我无法在Visual Studio 2012上执行项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用C#做这个Robosapien Kinect项目( http://www.youtube.com/观看?v = TKpO5F8LsCk ),然后在此处将代码源表单压缩为 https://github.com/fatihboy /Robosapien ,我不知道为什么当我使用Visual Studio 2012打开KinectRopsapien项目并运行并调试MainWindow.xaml.cs窗口时,应该显示Kinect正在拍摄内容的窗口没有打开底部有一个蓝色条,上面写着就绪".我的计算机上安装了Kinect for Windows SDK 1.7.第一个图像上是一条消息,该消息在调试代码时出现两次,其中单击继续"(我认为这将完成调试,并且我认为没有问题可以继续),第二个图像是在调试代码之后出现的消息.代码已调试完毕,您可以在下面看到准备就绪"的蓝色条,并且应出现Kinect拍摄内容的窗口,在该窗口中,我已将Kinect和USB Uirt连接到计算机.所以我想知道为什么在运行代码后没有窗口打开?谢谢您的关注

I am doing this Robosapien Kinect project in C# ( http://www.youtube.com/watch?v=TKpO5F8LsCk ) and I zipped the code source form here https://github.com/fatihboy/Robosapien and I don't know why that when I open the KinectRopsapien project with Visual Studio 2012 and I run and debug the MainWindow.xaml.cs window, the window that should show what the Kinect is filming is not opening and there is blue bar on the bottom saying "Ready". I have Kinect for Windows SDK 1.7 installed on my computer. On the first image is a message that appears twice while the code is being debugged in which I click "Continue" (which I think is to finish debugging and I think there is no problem to continue) and the second image is what appears after the code is debugged where you can see the blue bar below saying "Ready" and when the window of what the Kinect is filming should appear, in which I have the Kinect and USB Uirt connected to my computer. So I would like to know why there is no window opening after I run the code? Thank you for your attention

img850.imageshack.us/img850/7566/13285409.png-第一张图片img547.imageshack.us/img547/1449/31396912.png-第二张图片

img850.imageshack.us/img850/7566/13285409.png - First image img547.imageshack.us/img547/1449/31396912.png - Second image

推荐答案

该程序在运行.Net Framework 4.0并作为x86进行调试的VS 2010中对我来说非常有用.

This program worked great for me in VS 2010 running .Net Framework 4.0 and debug as x86.

我可以在屏幕快照中看到您的Debug设置为Any CPU.确保将其设置为x86.

I can see your Debug is set as Any CPU in your screenshot. Make sure it is set as x86.

这篇关于我无法在Visual Studio 2012上执行项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆