将经典ASP Web应用程序添加到VS 2008

时间:2022-08-29 01:54:43

is there a way to add an existing classic ASP webapp into a solution in VS? The application is around 4000 files large and currently maintained outisde Visual Studio.

有没有办法将现有的经典ASP webapp添加到VS的解决方案中?该应用程序大约有4000个文件,目前维护的是Visual Studio。

3 个解决方案

#1


1  

You can't do this with Visual Studio 2008 out of the box, but you can if you install Service Pack 1 - see Scott Guthrie's blog post for more info.

您无法使用开箱即用的Visual Studio 2008执行此操作,但是如果安装Service Pack 1,则可以访问 - 请参阅Scott Guthrie的博客文章以获取更多信息。

Edit: To clarify, whilst you can create a project out of the box, there is no intellisense or debugging unless you install SP1

编辑:为了澄清,虽然你可以创建一个开箱即用的项目,除非你安装SP1,否则没有intellisense或调试

#2


2  

The best way to do this IMO is:-

IMO的最佳方式是: -

In VS 2008 File | Open | Web Site...

在VS 2008文件中|打开|网站......

In the dialog ensure File System is selected. Navigate to the physical folder that represents the root of your Web app.

在对话框中,确保选择了“文件系统”。导航到表示Web应用程序根目录的物理文件夹。

Click Open. Job Done.

单击打开。任务完成。

#3


0  

There's no real point though is there? As Classic ASP files aren't compiled. I keep just opening them individually as needed from File Explorer.

虽然有,但没有真正的意义吗?由于经典ASP文件未编译。我只是根据需要从文件资源管理器中单独打开它们。

Although you could add them all to a VBProj or CSProj so you get them all showing up in your Solution Explorer, and could use features like Project -> Deploy.

虽然您可以将它们全部添加到VBProj或CSProj中,但是您可以将它们全部显示在解决方案资源管理器中,并且可以使用项目 - >部署等功能。

#1


1  

You can't do this with Visual Studio 2008 out of the box, but you can if you install Service Pack 1 - see Scott Guthrie's blog post for more info.

您无法使用开箱即用的Visual Studio 2008执行此操作,但是如果安装Service Pack 1,则可以访问 - 请参阅Scott Guthrie的博客文章以获取更多信息。

Edit: To clarify, whilst you can create a project out of the box, there is no intellisense or debugging unless you install SP1

编辑:为了澄清,虽然你可以创建一个开箱即用的项目,除非你安装SP1,否则没有intellisense或调试

#2


2  

The best way to do this IMO is:-

IMO的最佳方式是: -

In VS 2008 File | Open | Web Site...

在VS 2008文件中|打开|网站......

In the dialog ensure File System is selected. Navigate to the physical folder that represents the root of your Web app.

在对话框中,确保选择了“文件系统”。导航到表示Web应用程序根目录的物理文件夹。

Click Open. Job Done.

单击打开。任务完成。

#3


0  

There's no real point though is there? As Classic ASP files aren't compiled. I keep just opening them individually as needed from File Explorer.

虽然有,但没有真正的意义吗?由于经典ASP文件未编译。我只是根据需要从文件资源管理器中单独打开它们。

Although you could add them all to a VBProj or CSProj so you get them all showing up in your Solution Explorer, and could use features like Project -> Deploy.

虽然您可以将它们全部添加到VBProj或CSProj中,但是您可以将它们全部显示在解决方案资源管理器中,并且可以使用项目 - >部署等功能。