Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.NET web project deployment?

Status
Not open for further replies.

Score1000

Technical User
May 20, 2003
45
IR
Please somebody tell me how can I deploy a web project by using "Websetup project" in VS .net to create a .msi file?

my solution structure is like:
business facad
business rules
...
datastore
web

I tried it by adding the project outputs (primary output+source+content) for just the Web project but it failed (it couldn't be built with this error: an unrecoverable build error). should I add those files fo other projects as well??
I also use sql databases with my project.
please help me.
thanks
 
Well, if you're looking at packaging a project _with_ a SQL server I *think* you might run into some licensing issues ;).

When I'm getting ready to publish a web project, all I do is:

Project -> Copy Project

In this window, set Web access method as File share (if you have write access to the destination dir), and Copy as "Only files needed to run this application".

Once the copy is complete, either distribute as-is or zip it up for distribution. The files that will be distributed are the .aspx pages and the needed .dll's to run your page. None of the source code will be distributed (unless, of course you are not using the code-behind functionality of .net).

- Hope this helps :)

-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy
 
I get an error when I do what you said. How is this done?

It tells me that it's not a valid path.

Does the url and the path need to be the same? Tried that. This sucks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top