如何在该图形界面中打开C#文件? [英] How to open C# file in that graphic interface?

查看:100
本文介绍了如何在该图形界面中打开C#文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我想打开一个C#程序,请在此处下载.正是这个程序:
通过蓝牙在C#中与LEGO NXT进行通信 [ ^ ]
其中显示了一些图片,显示程序的外观,但是我所做的唯一一件事是我在MS记事本中查看了该程序的源代码.
但是,我唯一想要的就是打开该程序并运行它.请帮帮我.

P.S.我试图通过Google进行查找.

Hello, I want to open a C# program, downloaded here. Exactly this program :
Communicating with LEGO NXT via Bluetooth in C#[^]
There are shown some pictures, how the program looks like, but the only thing i did was i viewed the sourcecode of the program in MS notepad.
But the only thing i want is to open that program and run it. Please help me.

P.S. I tried to find out through Google.

推荐答案

确定,因此,请在源文件夹中打开.SLN文件并进行编译.该下载文件仅包含源代码,而不包含可执行文件,因此您将不得不对其进行编译才能运行它.
OK, so open the .SLN file in the source folder and compile the it. The download only contains source, not an executable, so you''re going to have to compile it to run it.


不,只是为了构建程序,所有需要的东西都已安装. NET Framework 2.0或更高版本.根据您拥有的版本,只需执行以下操作即可构建:

对于v.2.0:
No, just to build the program, all you need is installed .NET Framework 2.0 or later. Depending on what version do you have, do just this to build:

For v.2.0:
%windir%\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe nxtBlueTooth.sln



对于v.3.5:



For v.3.5:

%windir%\Microsoft.NET\Framework\v3.5\MSBuild.exe nxtBlueTooth.sln



对于v.4:



For v.4:

%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe nxtBlueTooth.sln



享受,

—SA



Enjoy,

—SA


这篇关于如何在该图形界面中打开C#文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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