Solved

How to properly publish a website using Visual Studio 2010

Posted on 2010-09-14
3
475 Views
Last Modified: 2012-06-22
I am trying to publish a website for the first itme using Visual Studio 2010. Before when I published a website, the only files actually published to the target folder where config files, page files, an app_folder, and the bin. Now everything (all files) in the application are published to the target directory...almost as if the publish option does a XCOPY of the application. How do I avoid this behavior...am I missing something trivial? Thanks for any help.
0
Comment
Question by:brianwells05
3 Comments
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 33679294
You can use the publish option of the VS 2010
http://msdn.microsoft.com/en-us/library/20yh9f1b.aspx
0
 
LVL 51

Accepted Solution

by:
Ted Bouskill earned 500 total points
ID: 33679298
Well if you want better performance and don't want to publish your source code you have to convert the "Web site" to a "Web Application" then you can use the publish feature like the previous versions.

http://msdn.microsoft.com/en-us/library/aa983476.aspx
0
 

Author Closing Comment

by:brianwells05
ID: 33770320
Thanks for the info!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now