如何在 Visual Studio 2010 中修改已部署应用程序包中的代码?
我们有一个由第三方开发的 ASP.NET 应用程序。我们希望将应用程序迁移到另一台服务器,并可能向其中添加新的 future。第三方以 zip 文件形式向我们提供了已部署的应用程序(包含所有代码文件)。由于 zip 文件不包含任何项目文件(.proj)或解决方案文件,我尝试创建一个新项目,然后将现有文件添加到该项目中,但是当我尝试编译时,我收到许多错误,例如“control gridview1 is未声明。”
我的问题是,同时添加所有想知道是否有办法在 Visual Studio 2010 中打开已部署的应用程序,对其进行更改,然后进行编译?或者我是否需要原始项目文件或解决方案文件才能编译?
任何帮助表示赞赏。
谢谢你和问候,
吉娜
we have an asp.net application developed by a third party. We would like to migrate the application to another server and possibly add new futures to it. The third party has provided us the deployed application(with all the code files) in a zip file. Since zip file does not contain any project file(.proj) or solution file, I tried to create a new project and then add the existing files to the project, but while i tried compile, i received many errors such as "control gridview1 is not declared. "
My question is, while adding all those wondering is there a way to open the deployed application in visual studio 2010, make change to it, and then compile? Or do i need to have the original project file or solution file in order to compile?
Any help is appreciated.
Thank you and regards,
gina
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您收到的是一个网站而不是一个项目。在 Visual Studio 中“文件”->“打开”->“网站”。您应该能够从那里编译/编辑/发布。
Sounds like you recieved a web site instead of a project. In visual studio 'File'->'Open'->'Web Site'. You should be able to compile/edit/publish from there.