如何将现有的aspx文件添加到另一个webapplication项目中 [英] how to add exisiting aspx file into another webapplication project
问题描述
很容易将一个现有的aspx文件或任何其他东西添加到网站(VS)中,我们需要将该文件粘贴到网站文件夹中,因为msdn建议
http:// msdn .microsoft.com / zh-cn / library / 0hds5k93(v = vs.100).aspx
但如何将aspx文件添加到webapplication项目中导致webapplication不同来自网站。
{{有关网站项目和Web应用程序项目之间差异的信息,请参阅Web应用程序项目与网站项目。}}
我的问题是如何将aspx文件添加到Web应用程序中我正在将复制粘贴到Web应用程序中,但是在查看打击链接之前我已经询问了错误。
http:// www .codeproject.com / Questions / 727448 / One-web-application-projects-aspx-file-is-not-work
it really easy to add a exsisting aspx file or any kind of other thing into website(VS) simply we need to copy paste that file into website folder as msdn suggested
http://msdn.microsoft.com/en-us/library/0hds5k93(v=vs.100).aspx
but how to add an aspx file into webapplication project cause webapplication is different from website.
{{For information about the difference between Web site projects and Web application projects, see Web Application Projects versus Web Site Projects.}}
my question is how to add an aspx file into web application i am doing copy paste into web applicaiton older but getting error i have asked before see blow link..
http://www.codeproject.com/Questions/727448/One-web-application-projects-aspx-file-is-not-work
推荐答案
很容易尝试这样做:
右键单击解决方案资源管理器(您的ProjectName)和
然后点击!! 添加现有项目.. !!
然后选择旧的。您希望在新的网络应用程序中添加的aspx页面。
然后刷新您的文件夹它将显示您添加的.aspx页面。好吧!
感谢你!
It's Easy try to done it like this way:
Right click on your Solution explorer(Your ProjectName)and
Then Click on !!Add Existing item..!!
Then select your old .aspx pages which you want to add in your new webapplication.
Then Refresh your folder it will display your added .aspx pages.Okay!
Thanking You !
这篇关于如何将现有的aspx文件添加到另一个webapplication项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!