I support a third party system that uses COM, classic ASP, and SQL Server. Our company has gone to using TFS as our source control provider - which pushes things through Visual Studio. So, what's the best way to get a classic asp front-end into Visual Studio?
我支持使用COM,经典ASP和SQL Server的第三方系统。我们公司已经开始使用TFS作为我们的源代码控制提供商 - 它通过Visual Studio推动了事情。那么,将经典的asp前端引入Visual Studio的最佳方法是什么?
4 个解决方案
#1
7
When I had to do this, I created a blank solution in VS and then added the folders from the ASP site one at a time, adding "existing items" to each folder as I created it.
当我必须这样做时,我在VS中创建了一个空白解决方案,然后一个一个地从ASP站点添加文件夹,在我创建它时为每个文件夹添加“现有项目”。
In this way I'm able to open the solution which keeps track of what files I had open at last open, plus I get the benefits of intellisense
通过这种方式,我可以打开解决方案,跟踪我最后打开的文件,以及我获得智能感知的好处
#2
3
I have done this frequently over the last 5 years...
在过去的5年里,我经常这样做......
You could create an Empty Website, or even create a standard (.NET) website and simply delete the default stuff it generates (web.config etc). Note: create a website, creates a solution and adds a website project within it, which is arguably slightly more preferable than simply adding files and folders to solution.
您可以创建一个空网站,甚至创建一个标准(.NET)网站,只需删除它生成的默认内容(web.config等)。注意:创建一个网站,创建一个解决方案并在其中添加一个网站项目,这可能比简单地将文件和文件夹添加到解决方案中更为可取。
As Geoff says, you get most of the benefits of VS including intellisense.
正如杰夫所说,你获得了VS的大部分好处,包括智能感知。
Suck it and see... Have a fiddle - you are not going to break anything!
吮吸它,看看......有一个小提琴 - 你不会打破任何东西!
#3
0
Did any of you heard of Visual Web developer 2008 Express edition? Work wonders for me. Most important as soon as you ask to open website in it- it opens each folder of intended website and when you save project it does what you need to do to later open this website in regular visual studio.
你们有没有听说过Visual Web开发者2008 Express版?为我创造奇迹。一旦你要求在其中打开网站,最重要的是 - 它打开了预定网站的每个文件夹,当你保存项目时,它会做你需要做的事情,以便以后在常规的visual studio中打开这个网站。
It have some limited capability even to convert simple Classic ASP pages into NET code!
即使将简单的经典ASP页面转换为NET代码,它也具有一些有限的功能!
#4
0
Create a blank solution in VS and add all the files by choosing "Add Existing Item.."
在VS中创建一个空白解决方案,并通过选择“添加现有项目”添加所有文件。
#1
7
When I had to do this, I created a blank solution in VS and then added the folders from the ASP site one at a time, adding "existing items" to each folder as I created it.
当我必须这样做时,我在VS中创建了一个空白解决方案,然后一个一个地从ASP站点添加文件夹,在我创建它时为每个文件夹添加“现有项目”。
In this way I'm able to open the solution which keeps track of what files I had open at last open, plus I get the benefits of intellisense
通过这种方式,我可以打开解决方案,跟踪我最后打开的文件,以及我获得智能感知的好处
#2
3
I have done this frequently over the last 5 years...
在过去的5年里,我经常这样做......
You could create an Empty Website, or even create a standard (.NET) website and simply delete the default stuff it generates (web.config etc). Note: create a website, creates a solution and adds a website project within it, which is arguably slightly more preferable than simply adding files and folders to solution.
您可以创建一个空网站,甚至创建一个标准(.NET)网站,只需删除它生成的默认内容(web.config等)。注意:创建一个网站,创建一个解决方案并在其中添加一个网站项目,这可能比简单地将文件和文件夹添加到解决方案中更为可取。
As Geoff says, you get most of the benefits of VS including intellisense.
正如杰夫所说,你获得了VS的大部分好处,包括智能感知。
Suck it and see... Have a fiddle - you are not going to break anything!
吮吸它,看看......有一个小提琴 - 你不会打破任何东西!
#3
0
Did any of you heard of Visual Web developer 2008 Express edition? Work wonders for me. Most important as soon as you ask to open website in it- it opens each folder of intended website and when you save project it does what you need to do to later open this website in regular visual studio.
你们有没有听说过Visual Web开发者2008 Express版?为我创造奇迹。一旦你要求在其中打开网站,最重要的是 - 它打开了预定网站的每个文件夹,当你保存项目时,它会做你需要做的事情,以便以后在常规的visual studio中打开这个网站。
It have some limited capability even to convert simple Classic ASP pages into NET code!
即使将简单的经典ASP页面转换为NET代码,它也具有一些有限的功能!
#4
0
Create a blank solution in VS and add all the files by choosing "Add Existing Item.."
在VS中创建一个空白解决方案,并通过选择“添加现有项目”添加所有文件。