问题
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