如何打开sln文件 [英] How to open sln file

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

问题描述

我想打开一个sln文件来编译程序.我应该使用哪个程序.
谢谢你的回答
我之前的问题如何在该图形界面中打开C#文件?
我想运行此通过蓝牙在C#中与LEGO NXT进行通信

I want to open a sln file to compile a program. Which program should i use.
Thank u for ur answer
My previous question How to open C# file in that graphic interface?
I want to run this Communicating with LEGO NXT via Bluetooth in C#

推荐答案

检查您以前的文章,您将需要Visual Studio 2010或Visual Studio 2008才能打开该SLN文件.







请就这个问题提出更多建议.

基本上,可以使用适当的IDE(开发环境)来打开解决方案文件.例如,您需要Visual Studio打开.net相关的sln文件.

您也可以使用NOTEPAD来打开和读取sln文件的内容.记事本仍然无法帮助您进行编译.
Checked your previous posts, you will need Visual Studio 2010 or Visual Studio 2008 to open that SLN file.





Hi,

Please elobrate more on the question.

Basically a solution file can be opened by using appropriate IDE (development enviornment) For Example you need visual studio to open .net related sln file.

You can also use NOTEPAD to just open and read the content of sln file. notepad will anyways not help you to compile it.


您的问题不清楚吗?你有视觉工作室吗?如果不是这样,您可以在此处下载免费的开发人员副本: http://www.microsoft .com/visualstudio/en-us/products/2010-editions/express [ ^ ]

如果您有MSDN订阅,则可以从订阅好处下载部分下载Visual Studio.
Your question is not clear? do you have visual studio? if not you can download a free copy of developer express here: http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express[^]

If you have an MSDN Subscription you can download visual studio from your subscription benefits download section.


如果您只需要编译程序,则只需执行以下操作:
If you need just to compile a program, you need to do just this:
MSBuild MySolution.SLN


唯一的问题是根据解决方案找到合适的MSBuild.EXE版本.这是.NET框架的一部分,而不是Visual Studio.

这些是与SLN文件格式的版本匹配的典型路径名

SLN格式版本:9.0
支持的.NET Framework:2.0(仅)
VS版本:VS 2005
路径:%windir%\ Microsoft.NET \ Framework \ v2.0.50727 \ MSBuild.exe

SLN格式版本:10.00
支持的.NET Framework:2.0、3.0、3.5
VS版本:2008
路径:%windir%\ Microsoft.NET \ Framework \ v3.5 \ MSBuild.exe

SLN格式版本:11.00
支持的.NET Framework:2.0、3.0、3.5、4.0
VS版本:VS 2010
路径:%windir%\ Microsoft.NET \ Framework \ v4.0.30319 \ MSBuild.exe

—SA


The only problem would be to find an appropriate MSBuild.EXE version, depending on the solution. This is a part of .NET framework, not Visual Studio.

These are typical path names matching the version of the SLN file format

SLN format version: 9.0
Supported .NET Framework: 2.0 (only)
VS Version: VS 2005
Path: %windir%\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe

SLN format version: 10.00
Supported .NET Framework: 2.0, 3.0, 3.5
VS Version: 2008
Path: %windir%\Microsoft.NET\Framework\v3.5\MSBuild.exe

SLN format version: 11.00
Supported .NET Framework: 2.0, 3.0, 3.5, 4.0
VS Version: VS 2010
Path: %windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

—SA


这篇关于如何打开sln文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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