473,397 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

VS' publish website feature not copying static files

Hi all,

I want to publish my asp.net 2.0 website using the "publish website"
feature of visual studio 2005. everything works fine so far, but the
IDE only compiles and copies the aspx, ascx, resources etc. files to
the destination directory. It does actually not copy .txt, .htm or
graphics files. MSDN says these files should be copied during the
publishing task, but they are definitely not copied. Neither does it
offer any troubleshooting steps. Is there a hidden setting somewhere?
Or do I misunderstand the "publish website" feature? I guess not,
because copying graphic files would actually make sense.
Any hints would be greatly appreciated. Thanks in advance.

Cheers, Hannes

Jul 17 '07 #1
2 2398
In the Properties panel, there is a Build Action option. Make sure this is
set to "Content". This will ensure that the file gets copied when you
Publish the project.

Note: Do not set the Copy to Output option to copy unless you want the file
copied to the Bin folder.
<sc*******@rehm.dewrote in message
news:11**********************@g37g2000prf.googlegr oups.com...
Hi all,

I want to publish my asp.net 2.0 website using the "publish website"
feature of visual studio 2005. everything works fine so far, but the
IDE only compiles and copies the aspx, ascx, resources etc. files to
the destination directory. It does actually not copy .txt, .htm or
graphics files. MSDN says these files should be copied during the
publishing task, but they are definitely not copied. Neither does it
offer any troubleshooting steps. Is there a hidden setting somewhere?
Or do I misunderstand the "publish website" feature? I guess not,
because copying graphic files would actually make sense.
Any hints would be greatly appreciated. Thanks in advance.

Cheers, Hannes
Jul 17 '07 #2
There is not Build Action Option in the properties for web files
(except my project settings are wrong).

On 17 Jul., 18:24, "Brandon Gano" <bg...@inocompany.comwrote:
In the Properties panel, there is a Build Action option. Make sure this is
set to "Content". This will ensure that the file gets copied when you
Publish the project.

Note: Do not set the Copy to Output option to copy unless you want the file
copied to the Bin folder.

<schnei...@rehm.dewrote in message

news:11**********************@g37g2000prf.googlegr oups.com...
Hi all,
I want to publish my asp.net 2.0 website using the "publish website"
feature of visual studio 2005. everything works fine so far, but the
IDE only compiles and copies the aspx, ascx, resources etc. files to
the destination directory. It does actually not copy .txt, .htm or
graphics files. MSDN says these files should be copied during the
publishing task, but they are definitely not copied. Neither does it
offer any troubleshooting steps. Is there a hidden setting somewhere?
Or do I misunderstand the "publish website" feature? I guess not,
because copying graphic files would actually make sense.
Any hints would be greatly appreciated. Thanks in advance.
Cheers, Hannes

Jul 19 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mike S. | last post by:
VS 2005 Professional RTM (8.0.50727.42) on Windows 2000 ASP.NET website Last week I converted a 1.1 ASP.NET (VB) project to 2.0. The conversion was painless on the VB code side. It was a lot of...
0
by: Gerry Abbott | last post by:
Hi all just trying to get my head around what this feature does, and started with a static page, and wanted to publish to my website. However when i get to the Where do you want to publish to? ...
2
by: msnews.microsoft.com | last post by:
I'm looking for a one-step publish to server solution. I'm developing my web app in VS.NET and use my local IIS for testing. When ready to publish the latest release, I'd like to be able to hit...
8
by: Graham | last post by:
I noticed a similar post awhile ago and in terms of my problem it wasnt a suitable answer so I will ask again. I have VS2005 running a on development machine in my office where I do all my...
5
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my...
6
by: ewolfman | last post by:
Hi, I've read many posts in several news groups, but can't figure out how to publish my website. The specific error I'm getting (on the "successfully published website") is "Could not load the...
1
by: cadonahue | last post by:
VS 2005 Professional RTM (8.0.50727.42) on Windows 2000 ASP.NET website Last week I converted a 1.1 ASP.NET (VB) project to 2.0. The conversion was painless on the VB code side. It was a lot of...
10
by: WT | last post by:
Hello, I have been publishing my web site many times to the remote where resides my final web site. Everything was ok, but to-day, without any configuration change, vs doesn't copy final files...
3
by: mrajanikrishna | last post by:
Hi friends, I've designed an application in my local system using VS.NET 2003. (VB.NET and ASP.NET) Its working fine. Now, I want to publish to my ISPs server. I've FTP account. How can I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.