运行一个C#项目 [英] Run a C# project

查看:71
本文介绍了运行一个C#项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了一个包含C#代码和dll的项目.
我想在Visual C#中打开它并运行
该怎么做?
我必须创建一个新项目吗?

I have downloaded a project containing C# codes and dlls.
I want to open it in visual c# and run
how to do that?
do I have to create a new project?

推荐答案

在包含已下载代码的目录中浏览

是否有.sln(解决方案)文件?如果是这样,双击打开它!解决方案中的所有项目和参考将被加载


如果没有解决方案文件,请查找文件类型.csproj,然后尝试打开该文件.
Have a look within the directory that contains the code you''ve downloaded

Is there a .sln (solution) file? If so, double click to open it! All projects and references in the solution will be loaded


IF there''s no solution file, have a look for file type .csproj and try and open that


只需找到.sln或.csproj文件,然后在Visual Studio中打开它. br/>
如果这样做没有帮助,请告诉我们有关您使用的VS版本和下载的文件的更多信息.
Just find .sln or .csproj file, and open it in visual studio.

If this doesn''t help, then tell us more about VS version you use and the files you downloaded.


您可以从microsoft.com下载visual express2010.
安装并享受它!
You can download visual express 2010 from microsoft.com.
Install and Enjoy it!


这篇关于运行一个C#项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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