打开sln文件时出错 [英] error on opening the sln File
问题描述
大家好,
我安装了Visual Studio 2005的新实例,并尝试打开* .sln文件(由vs 2005编写的我以前的解决方案),但出现此错误:
由于以下原因,无法加载解决方案中的一个或多个项目:
项目文件或网站已被移动,重命名或不在您的计算机上,
该项目将被标记为不可用...
我尚未移动或重命名任何文件,该文件夹包含我在运行解决方案之前使用的所有文件,我试图删除suo文件,但它不起作用.
我应该怎么做?
hello all,
I''ve installed a new instance of visual studio 2005 and i tried to open a *.sln file (a previous solution of mine that have been wrote by vs 2005) but i got this error:
one or more projects in solution could not be loaded for the following reason(s):
the project file or web has been moved, renamed or is not on your computer,
this project will be labeled as unavailable...
I have not move or rename any file, the folder contains all files that i used before to run the solution, I tried to remove suo file, but it does not work.
What should i do??
推荐答案
删除现有的SLN并创建新的SLN.使用以下步骤.
1.删除现有解决方案.
2.点击开始->运行-> DEVENV按下Enter
3. Visual Studio环境将打开.点击文件->打开->网站
4.给出您的旧sln文件的路径( 您的App_Code文件夹所在的路径 )
5.项目将打开.现在按Ctrl + Shift + S将打开一个对话框.
6.将SLN保存在所需位置
Delete existing SLN and create new. use following steps.
1. Delete Existing solution.
2. click on Start --> run --> DEVENV hit enter
3. Visual studio environment will open. Click on File --> Open --> Website
4. Give path upto your old sln file (path where your App_Code folder resides)
5. project will open. now hit Ctrl+Shift+S will open a dialog box.
6. save SLN at desired place
这篇关于打开sln文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!