Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / December 2005

Tip: Looking for answers? Try searching our database.

"Copy Web Site" feature copies all files?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
James - 28 Dec 2005 03:42 GMT
In VS03 you had the option to copy ONLY files required to run. VS05 copies
all files and I can't find a similar option in VS05 to turn off ALL files.
Seems to me you would want to avoid having all your .cs and .resx files up on
some public server.

Can you turn this off?

Thanks.
"Gary Chang[MSFT]" - 28 Dec 2005 08:57 GMT
Hi James,

I think you want to use the "Copy Web Site" to deploy your new web site to
the target server, if so, I suggest you use the "Publish Web
Site"(Build\Publish Web Site) to achieve this in VS2005.

Visual Studio 2005 makes the process of moving a development Web site to a
staging or production server easier and different from its earlier
versions. In VS2003, the primary ways to deploy the files were by using the
Copy Project utility, but in VS2005, there is a new utility Publish Web
Site, which compiles your Web site into a set of executable files. With
that you can copy the files using any method you choose to the target
server. Please refer to the following MSDN doc for details:

Publishing Web Sites
http://msdn2.microsoft.com/en-us/library/377y0s6t.aspx

By the way, the VS2005's Copy Web Site utility is similar to an FTP
utility, you can open a folder on a target server, and then upload and
download files respectively between the current Web site and the target Web
site, please also refer the corresponding MSDN documentation for it:

Copying Web Sites with the Copy Web Site Tool  
http://msdn2.microsoft.com/en-us/library/1cc82atw.aspx

Thanks for your understanding!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.
James - 28 Dec 2005 13:40 GMT
Thanks for the links. That pointed me in the right direction.

> Hi James,
>
[quoted text clipped - 34 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
"Gary Chang[MSFT]" - 29 Dec 2005 01:36 GMT
You are welcome, James!

Good Luck!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.