How to create a Web Setup project in VS 2010 for a MVC2 application?

旧时模样 提交于 2019-12-13 01:15:14

问题


I need help to create a Web Setup project for an MVC2 application I made at home, since I have VS 2010 there and I need to show people at the office, who have VS 2008 + sp1 + MVC2.

Thanks


回答1:


By adding a web setup project to your solution:




回答2:


Create a web setup project;

Add project output - select your web project - select primary output - click ok

Add project output again - select your web project - select content files - click ok




回答3:


Customize it by adding Custom Actions such as IIS version or DB connection string. More info here: http://weblogs.asp.net/scottgu/archive/2007/06/15/tip-trick-creating-packaged-asp-net-setup-programs-with-vs-2005.aspx



来源:https://stackoverflow.com/questions/5524634/how-to-create-a-web-setup-project-in-vs-2010-for-a-mvc2-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!