Re: Updating a Web-Site
- From: "AG" <NOSPAMa-giam@xxxxxxxxxxxxxxxxx>
- Date: Wed, 9 May 2007 11:09:22 -0400
So, basically, for a Web Site project, it is all or nothing?
Despite what it is 'supposed' to do, it does NOT copy all files.
I am using FCK HTML editor (http://www.fckeditor.net/) in my project. It
has many support files and folders of various types.
VS DOES NOT copy all the files/folders, just some.
What if I switch to a Web Application?
If I just change some code in the app, can I then 'build' the project to
generate the dll and then just copy that to the web server like with VS 2003
..NET 1.1?
--
AG
Email: discuss at adhdata dot com
"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:tlfrZVikHHA.1144@xxxxxxxxxxxxxxxxxxxxxxxxx
Thanks for your reply AG,
For http based publish, I have also tested it on my side, it seems both
file system or http web based(target directory) can work well, all the
files in the application folder( static files and asp.net specific files )
can be be copied to the target location. I mentioned the "File system"
publish means suggest you try using file system to publish the website to
see whether all the content can be copied correctly, you can also try
publishing to a local (intranet) IIS server, this can help verify whether
the problem is specific to your publish web hoster.
In addition, for updating precompiled assemblies, so far there is no
direct
means that can only updated the assemblies(when publishing site). Publish
site will always copy all the contents(necessary), there is no smaller
granularity to control which items to copy(which not). The ASP.NET 2.0/VS
2005 precompilation currently only provide some options to let us control
how to precompile the ASP.NET application(such as precompile the
application into a single assembly or multiple assemblies or naming the
assemblies ....), you can refer to the "Web Deployment Projejct" for more
information.
I think the following approach you used now is the reasonable one. You can
first publish the web site to a local location file system) and upload it
to target host site through FTP approach.
=======================
As a temporary solution, I am publishing to another local machine and then
copying the 'new' site files to the web server via ftp.
That way the files that VS wants to delete are not deleted from the web
server.
============
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.
.
- Follow-Ups:
- Re: Updating a Web-Site
- From: Steven Cheng[MSFT]
- Re: Updating a Web-Site
- References:
- Updating a Web-Site
- From: AG
- RE: Updating a Web-Site
- From: Steven Cheng[MSFT]
- Re: Updating a Web-Site
- From: AG
- Re: Updating a Web-Site
- From: Steven Cheng[MSFT]
- Re: Updating a Web-Site
- From: AG
- Re: Updating a Web-Site
- From: Steven Cheng[MSFT]
- Updating a Web-Site
- Prev by Date: Re: FORM
- Next by Date: Ensure a control is in the page
- Previous by thread: Re: Updating a Web-Site
- Next by thread: Re: Updating a Web-Site
- Index(es):
Relevant Pages
|